#include "gui/widgets/grid_private.hpp"
#include "gui/auxiliary/iterator/walker_grid.hpp"
#include "gui/core/log.hpp"
#include "gui/core/layout_exception.hpp"
#include "gui/widgets/control.hpp"
#include <numeric>
Go to the source code of this file.
Namespaces | |
gui2 | |
A class inherited from ttext_box that displays its input as stars. | |
Macros | |
#define | GETTEXT_DOMAIN "wesnoth-lib" |
#define | LOG_SCOPE_HEADER "tgrid [" + id() + "] " + __func__ |
#define | LOG_HEADER LOG_SCOPE_HEADER + ':' |
#define | LOG_IMPL_HEADER "tgrid [" + grid.id() + "] " + __func__ + ':' |
#define | LOG_CHILD_SCOPE_HEADER "tgrid::tchild [" + (widget_ ? widget_->id() : "-") + "] " + __func__ |
#define | LOG_CHILD_HEADER LOG_CHILD_SCOPE_HEADER + ':' |
Functions | |
void | gui2::set_single_child (tgrid &grid, twidget *widget) |
Sets the single child in a grid. More... | |
#define LOG_CHILD_HEADER LOG_CHILD_SCOPE_HEADER + ':' |
Definition at line 32 of file grid.cpp.
Referenced by gui2::tgrid::tchild::get_best_size(), and gui2::tgrid::tchild::place().
#define LOG_CHILD_SCOPE_HEADER "tgrid::tchild [" + (widget_ ? widget_->id() : "-") + "] " + __func__ |
Definition at line 30 of file grid.cpp.
Referenced by gui2::tgrid::tchild::get_best_size().
#define LOG_HEADER LOG_SCOPE_HEADER + ':' |
Definition at line 27 of file grid.cpp.
Referenced by gui2::tgrid::calculate_best_size(), gui2::tgrid::layout(), gui2::tgrid::place(), gui2::tgrid::reduce_height(), gui2::tgrid::reduce_width(), gui2::tgrid::request_reduce_height(), gui2::tgrid::request_reduce_width(), gui2::tgrid::set_child(), and gui2::tgrid::set_rows_cols().
#define LOG_IMPL_HEADER "tgrid [" + grid.id() + "] " + __func__ + ':' |
Definition at line 28 of file grid.cpp.
Referenced by gui2::tgrid_implementation::column_request_reduce_width(), and gui2::tgrid_implementation::row_request_reduce_height().
#define LOG_SCOPE_HEADER "tgrid [" + id() + "] " + __func__ |
Definition at line 26 of file grid.cpp.
Referenced by gui2::tgrid::calculate_best_size(), gui2::tgrid::place(), gui2::tgrid::reduce_height(), and gui2::tgrid::reduce_width().