Helper struct to force widgets the have the same size. More...
Public Member Functions | |
tlinked_size (const bool width=false, const bool height=false) | |
Public Attributes | |
std::vector< twidget * > | widgets |
The widgets linked. More... | |
int | width |
the current width of all widgets in the intis group, -1 if the width is not linked More... | |
int | height |
the current height of all widgets in the intis group, -1 if the height is not linked More... | |
Helper struct to force widgets the have the same size.
Widget which are linked will get the same width and/or height. This can especially be useful for listboxes, but can also be used for other applications.
Definition at line 603 of file window.hpp.
|
inline |
Definition at line 605 of file window.hpp.
int gui2::twindow::tlinked_size::height |
the current height of all widgets in the intis group, -1 if the height is not linked
Definition at line 617 of file window.hpp.
std::vector<twidget*> gui2::twindow::tlinked_size::widgets |
The widgets linked.
Definition at line 611 of file window.hpp.
int gui2::twindow::tlinked_size::width |
the current width of all widgets in the intis group, -1 if the width is not linked
Definition at line 614 of file window.hpp.