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. | |
| bool | width |
| Link the widgets in the width? | |
| bool | height |
| Link the widgets in the height? | |
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 547 of file window.hpp.
| gui2::twindow::tlinked_size::tlinked_size | ( | const bool | width = false, |
|
| const bool | height = false | |||
| ) | [inline] |
Definition at line 549 of file window.hpp.
Link the widgets in the height?
Definition at line 563 of file window.hpp.
| std::vector<twidget*> gui2::twindow::tlinked_size::widgets |
The widgets linked.
Definition at line 557 of file window.hpp.
Link the widgets in the width?
Definition at line 560 of file window.hpp.
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:23:28 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |