15 #ifndef GUI_WIDGETS_GRID_PRIVATE_HPP_INCLUDED
16 #define GUI_WIDGETS_GRID_PRIVATE_HPP_INCLUDED
57 const bool must_be_active)
60 for(hack & child : grid.children_)
63 W* widget = child.widget();
68 widget = widget->find_at(coordinate, must_be_active);
87 const bool must_be_active)
90 W* widget = grid.twidget::find(
id, must_be_active);
96 for(hack & child : grid.children_)
99 widget = child.widget();
104 widget = widget->find(
id, must_be_active);
124 const unsigned maximum_height);
137 const unsigned maximum_width);
147 const unsigned maximum_height);
156 const unsigned maximum_width);
A class inherited from ttext_box that displays its input as stars.
static W * find_at(typename utils::tconst_clone< tgrid, W >::reference grid, const tpoint &coordinate, const bool must_be_active)
Implementation for the wrappers for [const] twidget* tgrid::find_at(const tpoint&, const bool) [const].
static unsigned row_request_reduce_height(tgrid &grid, const unsigned row, const unsigned maximum_height)
Helper function to do the resizing of a row.
GLenum GLenum GLvoid GLvoid * column
static void cell_request_reduce_width(tgrid::tchild &child, const unsigned maximum_width)
Helper function to do the resizing of a widget.
D type
The destination type, possibly const qualified.
GLenum GLenum GLvoid * row
static unsigned column_request_reduce_width(tgrid &grid, const unsigned column, const unsigned maximum_width)
Helper function to do the resizing of a column.
Helper to implement private functions without modifying the header.
static W * find(typename utils::tconst_clone< tgrid, W >::reference grid, const std::string &id, const bool must_be_active)
Implementation for the wrappers for [const] twidget* tgrid::find(const std::string&, const bool) [const].
A config object defines a single node in a WML file, with access to child nodes.
static void cell_request_reduce_height(tgrid::tchild &child, const unsigned maximum_height)
Helper function to do the resizing of a widget.
GLsizei const GLcharARB ** string