The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions
grid.cpp File Reference
#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>
Include dependency graph for grid.cpp:

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...
 

Macro Definition Documentation

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file grid.cpp.

#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 + ':'
#define LOG_IMPL_HEADER   "tgrid [" + grid.id() + "] " + __func__ + ':'
#define LOG_SCOPE_HEADER   "tgrid [" + id() + "] " + __func__