Nana C++ Library. Reference for users.
What we need to use nana
|
A component set placer used for specifying component position and size. More...
Public Types | |
typedef ::nana::paint::graphics & | graph_reference |
typedef Component | component_t |
A type of widget-defined components. More... | |
typedef ItemAttribute | item_attribute_t |
A type of widget-defined item attribute. More... | |
typedef WidgetScheme | widget_scheme_t |
Widget scheme. More... | |
Public Member Functions | |
virtual | ~compset_placer () |
The destructor. More... | |
virtual void | enable (component_t, bool)=0 |
Enable/Disable the specified component. More... | |
virtual bool | enabled (component_t) const =0 |
virtual unsigned | item_height (graph_reference) const =0 |
Height of an item, in pixels. More... | |
virtual unsigned | item_width (graph_reference, const item_attribute_t &) const =0 |
Width of an item, in pixels. More... | |
virtual bool | locate (component_t comp, const item_attribute_t &attr, rectangle *r) const =0 |
A component set placer used for specifying component position and size.
typedef Component nana::widgets::detail::compset_placer< Component, ItemAttribute, WidgetScheme >::component_t |
A type of widget-defined components.
typedef ::nana::paint::graphics& nana::widgets::detail::compset_placer< Component, ItemAttribute, WidgetScheme >::graph_reference |
typedef ItemAttribute nana::widgets::detail::compset_placer< Component, ItemAttribute, WidgetScheme >::item_attribute_t |
A type of widget-defined item attribute.
typedef WidgetScheme nana::widgets::detail::compset_placer< Component, ItemAttribute, WidgetScheme >::widget_scheme_t |
Widget scheme.
|
inlinevirtual |
The destructor.
|
pure virtual |
Enable/Disable the specified component.
|
pure virtual |
|
pure virtual |
Height of an item, in pixels.
|
pure virtual |
Width of an item, in pixels.
|
pure virtual |
Locate a component through the specified coordinate.
comp | the component of the item. |
attr | the attribute of the item. |
r | the pointer refers to a rectangle for receiving the position and size of the component. |