Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::drawerbase::treebox::scheme Struct Reference
Inheritance diagram for nana::drawerbase::treebox::scheme:
nana::widget_geometrics

Public Attributes

color_proxy item_bg_selected { static_cast<color_rgb>(0xD5EFFC) }
 item selected: background color More...
 
color_proxy item_fg_selected { static_cast<color_rgb>(0x99DEFD) }
 item selected: foreground color More...
 
color_proxy item_bg_highlighted { static_cast<color_rgb>(0xE8F5FD) }
 item highlighted: background color More...
 
color_proxy item_fg_highlighted { static_cast<color_rgb>(0xD8F0FA) }
 item highlighted: foreground color More...
 
color_proxy item_bg_selected_and_highlighted { static_cast<color_rgb>(0xC4E8FA) }
 item selected and highlighted: background color More...
 
color_proxy item_fg_selected_and_highlighted { static_cast<color_rgb>(0xB6E6FB) }
 item selected and highlighted: foreground color More...
 
unsigned item_offset { 16 }
 item position displacement in pixels More...
 
unsigned text_offset { 4 }
 text position displacement in pixels More...
 
unsigned icon_size { 16 }
 icon size in pixels More...
 
unsigned crook_size { 16 }
 crook size in pixels (TODO: the function that draw the crook doesn't scale the shape) More...
 
unsigned indent_displacement { 18 }
 children position displacement in pixels (def=18 (before was 10)) More...
 
- Public Attributes inherited from nana::widget_geometrics
color_proxy activated { static_cast<color_rgb>(0x60C8FD) }
 
color_proxy background {colors::button_face}
 
color_proxy foreground {colors::black}
 

Additional Inherited Members

- Public Member Functions inherited from nana::widget_geometrics
virtual ~widget_geometrics ()=default
 

Member Data Documentation

unsigned nana::drawerbase::treebox::scheme::crook_size { 16 }

crook size in pixels (TODO: the function that draw the crook doesn't scale the shape)

unsigned nana::drawerbase::treebox::scheme::icon_size { 16 }

icon size in pixels

unsigned nana::drawerbase::treebox::scheme::indent_displacement { 18 }

children position displacement in pixels (def=18 (before was 10))

color_proxy nana::drawerbase::treebox::scheme::item_bg_highlighted { static_cast<color_rgb>(0xE8F5FD) }

item highlighted: background color

color_proxy nana::drawerbase::treebox::scheme::item_bg_selected { static_cast<color_rgb>(0xD5EFFC) }

item selected: background color

color_proxy nana::drawerbase::treebox::scheme::item_bg_selected_and_highlighted { static_cast<color_rgb>(0xC4E8FA) }

item selected and highlighted: background color

color_proxy nana::drawerbase::treebox::scheme::item_fg_highlighted { static_cast<color_rgb>(0xD8F0FA) }

item highlighted: foreground color

color_proxy nana::drawerbase::treebox::scheme::item_fg_selected { static_cast<color_rgb>(0x99DEFD) }

item selected: foreground color

color_proxy nana::drawerbase::treebox::scheme::item_fg_selected_and_highlighted { static_cast<color_rgb>(0xB6E6FB) }

item selected and highlighted: foreground color

unsigned nana::drawerbase::treebox::scheme::item_offset { 16 }

item position displacement in pixels

unsigned nana::drawerbase::treebox::scheme::text_offset { 4 }

text position displacement in pixels