#include <window_builder.hpp>


Public Member Functions | |
| tbuilder_grid (const config &cfg) | |
| tgrid * | build () const |
| tgrid * | build (tgrid *grid) 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_ptr > | widgets |
| The widgets per grid cell. | |
Definition at line 96 of file window_builder.hpp.
| gui2::tbuilder_grid::tbuilder_grid | ( | const config & | cfg | ) | [explicit] |
Definition at line 430 of file window_builder.cpp.
References _, border_size, config::child_range(), col_grow_factor, cols, DBG_GUI_P, flags, gui2::log_gui_parse, log_scope2, gui2::implementation::read_flags(), row_grow_factor, rows, VALIDATE, and widgets.

| tgrid * gui2::tbuilder_grid::build | ( | ) | const [virtual] |
Implements gui2::tbuilder_widget.
Definition at line 537 of file window_builder.cpp.
Definition at line 542 of file window_builder.cpp.
References border_size, col_grow_factor, cols, DBG_GUI_G, flags, gui2::tbuilder_widget::linked_group, gui2::log_gui_general, log_scope2, row_grow_factor, rows, gui2::tgrid::set_child(), gui2::tgrid::set_column_grow_factor(), gui2::twidget::set_id(), gui2::twidget::set_linked_group(), gui2::tgrid::set_row_grow_factor(), gui2::tgrid::set_rows_cols(), and widgets.

| std::vector<unsigned> gui2::tbuilder_grid::border_size |
The border size per grid cell.
Definition at line 113 of file window_builder.hpp.
Referenced by build(), and tbuilder_grid().
| std::vector<unsigned> gui2::tbuilder_grid::col_grow_factor |
Definition at line 107 of file window_builder.hpp.
Referenced by build(), and tbuilder_grid().
| unsigned gui2::tbuilder_grid::cols |
Definition at line 103 of file window_builder.hpp.
Referenced by build(), and tbuilder_grid().
| std::vector<unsigned> gui2::tbuilder_grid::flags |
The flags per grid cell.
Definition at line 110 of file window_builder.hpp.
Referenced by build(), and tbuilder_grid().
| std::vector<unsigned> gui2::tbuilder_grid::row_grow_factor |
The grow factor for the rows / columns.
Definition at line 106 of file window_builder.hpp.
Referenced by build(), and tbuilder_grid().
| unsigned gui2::tbuilder_grid::rows |
Definition at line 102 of file window_builder.hpp.
Referenced by build(), and tbuilder_grid().
| std::vector<tbuilder_widget_ptr> gui2::tbuilder_grid::widgets |
The widgets per grid cell.
Definition at line 116 of file window_builder.hpp.
Referenced by build(), and tbuilder_grid().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:21:06 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |