Public Member Functions | Public Attributes

gui2::tgenerator< minimum_selection, maximum_selection, placement, select_action >::titem Struct Reference

Definition of an item. More...

Collaboration diagram for gui2::tgenerator< minimum_selection, maximum_selection, placement, select_action >::titem:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 titem ()

Public Attributes

tgrid grid
 The grid containing the widgets.
bool selected
 Is the item selected or not.
bool shown
 Is the row shown or not.

Detailed Description

template<class minimum_selection, class maximum_selection, class placement, class select_action>
struct gui2::tgenerator< minimum_selection, maximum_selection, placement, select_action >::titem

Definition of an item.

Definition at line 917 of file generator_private.hpp.


Constructor & Destructor Documentation

template<class minimum_selection , class maximum_selection , class placement , class select_action >
gui2::tgenerator< minimum_selection, maximum_selection, placement, select_action >::titem::titem (  )  [inline]

Definition at line 919 of file generator_private.hpp.


Member Data Documentation

template<class minimum_selection , class maximum_selection , class placement , class select_action >
tgrid gui2::tgenerator< minimum_selection, maximum_selection, placement, select_action >::titem::grid
template<class minimum_selection , class maximum_selection , class placement , class select_action >
bool gui2::tgenerator< minimum_selection, maximum_selection, placement, select_action >::titem::selected

Is the item selected or not.

Definition at line 930 of file generator_private.hpp.

template<class minimum_selection , class maximum_selection , class placement , class select_action >
bool gui2::tgenerator< minimum_selection, maximum_selection, placement, select_action >::titem::shown

Is the row shown or not.

This flag is used the help to set the visible flag, it's preferred to test this flag for external functions.

Todo:
functions now test for visible and shown, that can use some polishing.

Definition at line 941 of file generator_private.hpp.

Referenced by gui2::tgenerator< minimum_selection, maximum_selection, placement, select_action >::impl_draw_children(), and gui2::tgenerator< minimum_selection, maximum_selection, placement, select_action >::layout_init().


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:22:16 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs