Nana C++ Library. Reference for users.
What we need to use nana
|
Public Member Functions | |
measurer (trigger *t) | |
std::optional< size > | measure (graph_reference graph, unsigned limit_pixels, bool) const override |
Measures content. More... | |
size | extension () const override |
Returns the extension to the size of widget from content extent. More... | |
Public Member Functions inherited from nana::dev::widget_content_measurer_interface | |
virtual | ~widget_content_measurer_interface ()=default |
Additional Inherited Members | |
Public Types inherited from nana::dev::widget_content_measurer_interface | |
using | graph_reference = paint::graphics & |
|
inline |
|
inlineoverridevirtual |
Returns the extension to the size of widget from content extent.
Implements nana::dev::widget_content_measurer_interface.
|
inlineoverridevirtual |
Measures content.
graph | The graphics for the operation. |
limit_pixels | The number of pixels of the limited edge. If this parameter is zero, it is ignored. |
limit_width | True if limits the width, false if limits the height. |
Implements nana::dev::widget_content_measurer_interface.