gui2::tbuilder_grid Struct Reference

#include <window_builder.hpp>

Inheritance diagram for gui2::tbuilder_grid:

Inheritance graph
[legend]
Collaboration diagram for gui2::tbuilder_grid:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 tbuilder_grid (const config &cfg)
twidgetbuild () const

Public Attributes

unsigned rows
unsigned cols
std::vector< unsigned > row_grow_factor
 The grow factor for the rows / columns.
std::vector< unsigned > col_grow_factor
std::vector< unsigned > flags
 The flags per grid cell.
std::vector< unsigned > border_size
 The border size per grid cell.
std::vector< tbuilder_widget_ptrwidgets
 The widgets per grid cell.

Private Member Functions

 tbuilder_grid ()
void read_extra (const config &cfg)
 After reading the general part in the constructor read extra data.


Detailed Description

Definition at line 53 of file window_builder.hpp.


Constructor & Destructor Documentation

gui2::tbuilder_grid::tbuilder_grid (  )  [private]

Referenced by tbuilder_grid().

gui2::tbuilder_grid::tbuilder_grid ( const config cfg  ) 


Member Function Documentation

twidget * gui2::tbuilder_grid::build (  )  const [virtual]

void gui2::tbuilder_grid::read_extra ( const config cfg  )  [private]

After reading the general part in the constructor read extra data.


Member Data Documentation

Definition at line 60 of file window_builder.hpp.

Referenced by build(), gui2::tbuilder_panel::build(), and tbuilder_grid().

Definition at line 61 of file window_builder.hpp.

Referenced by build(), gui2::tbuilder_panel::build(), and tbuilder_grid().

std::vector<unsigned> gui2::tbuilder_grid::row_grow_factor

The grow factor for the rows / columns.

Definition at line 64 of file window_builder.hpp.

Referenced by build(), gui2::tbuilder_panel::build(), and tbuilder_grid().

std::vector<unsigned> gui2::tbuilder_grid::col_grow_factor

Definition at line 65 of file window_builder.hpp.

Referenced by build(), gui2::tbuilder_panel::build(), and tbuilder_grid().

std::vector<unsigned> gui2::tbuilder_grid::flags

The flags per grid cell.

Definition at line 68 of file window_builder.hpp.

Referenced by build(), gui2::tbuilder_panel::build(), and tbuilder_grid().

std::vector<unsigned> gui2::tbuilder_grid::border_size

The border size per grid cell.

Definition at line 71 of file window_builder.hpp.

Referenced by build(), gui2::tbuilder_panel::build(), and tbuilder_grid().

The widgets per grid cell.

Definition at line 74 of file window_builder.hpp.

Referenced by build(), gui2::tbuilder_panel::build(), and tbuilder_grid().


The documentation for this struct was generated from the following files:

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs