57 const bool must_be_active)
61 W*
widget = child.get_widget();
84 const std::string_view
id,
85 const bool must_be_active)
88 W*
widget =
grid.widget::find(
id, must_be_active);
95 widget = child.get_widget();
120 const unsigned maximum_height);
132 const unsigned column,
133 const unsigned maximum_width);
143 const unsigned maximum_height);
152 const unsigned maximum_width);
std::vector< child > children_
The child items.
map_location coordinate
Contains an x and y coordinate used for starting positions in maps.
typename const_clone< D, S >::reference const_clone_ref
Helper to implement private functions without modifying the header.
static unsigned column_request_reduce_width(grid &grid, const unsigned column, const unsigned maximum_width)
Helper function to do the resizing of a column.
static void cell_request_reduce_width(grid::child &child, const unsigned maximum_width)
Helper function to do the resizing of a widget.
static W * find_at(utils::const_clone_ref< grid, W > grid, const point &coordinate, const bool must_be_active)
Implementation for the wrappers for [const] widget* grid::find_at(const point&, const bool) [const].
static void cell_request_reduce_height(grid::child &child, const unsigned maximum_height)
Helper function to do the resizing of a widget.
static unsigned row_request_reduce_height(grid &grid, const unsigned row, const unsigned maximum_height)
Helper function to do the resizing of a row.
static W * find(utils::const_clone_ref< grid, W > grid, const std::string_view id, const bool must_be_active)
Implementation for the wrappers for [const] widget* grid::find(const std::string_view,...