Public Member Functions | Public Attributes

gui2::twindow::tlinked_size Struct Reference

Helper struct to force widgets the have the same size. More...

Collaboration diagram for gui2::twindow::tlinked_size:
Collaboration graph
[legend]

List of all members.

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?

Detailed Description

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.


Constructor & Destructor Documentation

gui2::twindow::tlinked_size::tlinked_size ( const bool  width = false,
const bool  height = false 
) [inline]

Definition at line 549 of file window.hpp.


Member Data Documentation

Link the widgets in the height?

Definition at line 563 of file window.hpp.

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.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:23:28 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs