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

Public Attributes

color_proxy header_bgcolor {static_cast<color_rgb>(0xf1f2f4)}
 
color_proxy header_fgcolor { colors::black }
 
color_proxy header_grabbed { static_cast<color_rgb>(0x8BD6F6)}
 
color_proxy header_floated { static_cast<color_rgb>(0xBABBBC)}
 
color_proxy item_selected { static_cast<color_rgb>(0xCCE8FF) }
 
color_proxy item_highlighted { static_cast<color_rgb>(0xE5F3FF) }
 
color_proxy selection_box { static_cast<color_rgb>(0x3399FF) }
 Color of selection box border. More...
 
std::shared_ptr< paint::fontcolumn_font
 Renderer draws column texts with the font if it is not a nullptr. More...
 
unsigned max_fit_content { 0 }
 The max column width which is generated by fit_content is allowed. It is ignored when it is 0, or a max value is passed to fit_content. More...
 
unsigned min_column_width { 20 }
 def=20 . non counting suspension_width More...
 
unsigned text_margin { 5 }
 def= 5. Additional or extended with added (before) to the text width to determine the cell width. cell_w = text_w + ext_w +1 More...
 
unsigned item_height_ex { 6 }
 Set !=0 !!!! def=6. item_height = text_height + item_height_ex. More...
 
unsigned header_splitter_area_before { 2 }
 def=2. But 4 is better... IMO More...
 
unsigned header_splitter_area_after { 3 }
 def=3. But 4 is better... More...
 
unsigned header_padding_top { 3 }
 
unsigned header_padding_bottom { 3 }
 
::nana::parameters::mouse_wheel mouse_wheel {}
 The number of lines/characters to scroll when vertical/horizontal mouse wheel is moved. 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

std::shared_ptr<paint::font> nana::drawerbase::listbox::scheme::column_font

Renderer draws column texts with the font if it is not a nullptr.

color_proxy nana::drawerbase::listbox::scheme::header_bgcolor {static_cast<color_rgb>(0xf1f2f4)}
color_proxy nana::drawerbase::listbox::scheme::header_fgcolor { colors::black }
color_proxy nana::drawerbase::listbox::scheme::header_floated { static_cast<color_rgb>(0xBABBBC)}
color_proxy nana::drawerbase::listbox::scheme::header_grabbed { static_cast<color_rgb>(0x8BD6F6)}
unsigned nana::drawerbase::listbox::scheme::header_padding_bottom { 3 }
unsigned nana::drawerbase::listbox::scheme::header_padding_top { 3 }
unsigned nana::drawerbase::listbox::scheme::header_splitter_area_after { 3 }

def=3. But 4 is better...

unsigned nana::drawerbase::listbox::scheme::header_splitter_area_before { 2 }

def=2. But 4 is better... IMO

unsigned nana::drawerbase::listbox::scheme::item_height_ex { 6 }

Set !=0 !!!! def=6. item_height = text_height + item_height_ex.

color_proxy nana::drawerbase::listbox::scheme::item_highlighted { static_cast<color_rgb>(0xE5F3FF) }
color_proxy nana::drawerbase::listbox::scheme::item_selected { static_cast<color_rgb>(0xCCE8FF) }
unsigned nana::drawerbase::listbox::scheme::max_fit_content { 0 }

The max column width which is generated by fit_content is allowed. It is ignored when it is 0, or a max value is passed to fit_content.

unsigned nana::drawerbase::listbox::scheme::min_column_width { 20 }

def=20 . non counting suspension_width

::nana::parameters::mouse_wheel nana::drawerbase::listbox::scheme::mouse_wheel {}

The number of lines/characters to scroll when vertical/horizontal mouse wheel is moved.

color_proxy nana::drawerbase::listbox::scheme::selection_box { static_cast<color_rgb>(0x3399FF) }

Color of selection box border.

unsigned nana::drawerbase::listbox::scheme::text_margin { 5 }

def= 5. Additional or extended with added (before) to the text width to determine the cell width. cell_w = text_w + ext_w +1