Nana C++ Library. Reference for users.
What we need to use nana
|
created and live by the trigger, holds data for listbox: the state of the struct does not effect on member functions, therefore all data members are public. More...
Classes | |
struct | mouse_selection_part |
struct | operation_rep |
Public Types | |
enum | item_state { item_state::normal, item_state::highlighted, item_state::pressed, item_state::grabbed, item_state::floated } |
enum | parts { parts::unknown = -1, parts::header, parts::list, parts::list_blank, parts::checker } |
Public Member Functions | |
essence () | |
unsigned | suspension_width () const |
bool | cs_status (index_pair abs_pos, bool for_selection) const |
void | resize_disp_area () |
size_type | column_from_pos (int screen_x) const |
std::string | to_string (const export_options &exp_opt) const |
int | content_position (const index_pair &pos) const |
index_pair | first_display () const noexcept |
unsigned | item_height () const noexcept |
point | coordinate_cast (const point &from, bool from_screen) noexcept |
std::pair< int, int > | columns_range () const |
void | start_mouse_selection (const arg_mouse &arg) |
void | update_mouse_selection (const point &screen_pos) |
void | stop_mouse_selection () noexcept |
size_type | count_of_exposed (bool with_rest) const |
Returns the number of items that are contained on on screen. More... | |
void | update (bool ignore_auto_draw=false) noexcept |
::nana::size | calc_content_size (bool try_update=true) |
nana::rectangle | checkarea (int x, int y) const noexcept |
move to scheme ?? 16 ? More... | |
int | item_xpos (const nana::rectangle &r) const |
int | item_window_top (const index_pair &pos) const |
std::pair< parts, size_t > | where (const nana::point &pos) const noexcept |
bool | calc_where (const point &pos) noexcept |
void | widget_to_header (nana::point &pos) noexcept |
void | draw_peripheral () |
rectangle | content_area () const |
double | header_font_px () const |
unsigned | header_visible_px () const |
bool | rect_header (nana::rectangle &r) const |
bool | rect_lister (nana::rectangle &r) const |
std::vector< size_type > | ordered_columns (unsigned lister_w) const |
inline_pane * | open_inline (pat::abstract_factory< inline_notifier_interface > *factory, inline_indicator *indicator) |
created and live by the trigger, holds data for listbox: the state of the struct does not effect on member functions, therefore all data members are public.
|
strong |
|
strong |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
move to scheme ?? 16 ?
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
Returns the number of items that are contained on on screen.
with_rest Indicates whether the extra one item which is not completely contained in rest pixels to be included.
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
we are inside
we are in the header
|
inlinenoexcept |
bool nana::drawerbase::listbox::essence::auto_draw {true} |
bool nana::drawerbase::listbox::essence::checkable {false} |
std::unique_ptr<widgets::skeletons::content_view> nana::drawerbase::listbox::essence::content_view |
std::function<void(paint::graphics&, const rectangle&, bool)> nana::drawerbase::listbox::essence::ctg_icon_renderer |
Renderer for the category icon.
::nana::listbox::export_options nana::drawerbase::listbox::essence::def_exp_options |
::nana::paint::graphics* nana::drawerbase::listbox::essence::graph {nullptr} |
es_header nana::drawerbase::listbox::essence::header |
bool nana::drawerbase::listbox::essence::if_image {false} |
std::map<pat::detail::abstract_factory_base*, std::deque<std::unique_ptr<inline_pane> > > nana::drawerbase::listbox::essence::inline_buffered_table |
std::map<pat::detail::abstract_factory_base*, std::deque<std::unique_ptr<inline_pane> > > nana::drawerbase::listbox::essence::inline_table |
::nana::listbox* nana::drawerbase::listbox::essence::listbox_ptr {nullptr} |
es_lister nana::drawerbase::listbox::essence::lister |
struct nana::drawerbase::listbox::essence::mouse_selection_part nana::drawerbase::listbox::essence::mouse_selection |
struct nana::drawerbase::listbox::essence::operation_rep nana::drawerbase::listbox::essence::operation |
std::pair<parts, std::size_t> nana::drawerbase::listbox::essence::pointer_where |
std::function<bool(nana::mouse)> nana::drawerbase::listbox::essence::pred_msup_deselect |
item_state nana::drawerbase::listbox::essence::ptr_state { item_state::normal } |
::nana::listbox::scheme_type* nana::drawerbase::listbox::essence::scheme_ptr {nullptr} |
unsigned nana::drawerbase::listbox::essence::text_height |