The Battle for Wesnoth  1.15.1+dev
Namespaces | Macros | Functions
grid.cpp File Reference
#include "gui/widgets/grid_private.hpp"
#include "gui/auxiliary/iterator/walker_grid.hpp"
#include "gui/core/event/message.hpp"
#include "gui/core/log.hpp"
#include "gui/core/layout_exception.hpp"
#include "gui/widgets/styled_widget.hpp"
#include "gui/widgets/window.hpp"
#include <numeric>
Include dependency graph for grid.cpp:

Go to the source code of this file.

Namespaces

 gui2
 Generic file dialog.
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 
#define LOG_SCOPE_HEADER   "grid [" + id() + "] " + __func__
 
#define LOG_HEADER   LOG_SCOPE_HEADER + ':'
 
#define LOG_IMPL_HEADER   "grid [" + grid.id() + "] " + __func__ + ':'
 
#define LOG_CHILD_SCOPE_HEADER   "grid::child [" + (widget_ ? widget_->id() : "-") + "] " + __func__
 
#define LOG_CHILD_HEADER   LOG_CHILD_SCOPE_HEADER + ':'
 

Functions

void gui2::set_single_child (grid &grid, widget *widget)
 Sets the single child in a grid. More...
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file grid.cpp.

◆ LOG_CHILD_HEADER

#define LOG_CHILD_HEADER   LOG_CHILD_SCOPE_HEADER + ':'

Definition at line 34 of file grid.cpp.

Referenced by gui2::grid::child::get_best_size(), and gui2::grid::child::place().

◆ LOG_CHILD_SCOPE_HEADER

#define LOG_CHILD_SCOPE_HEADER   "grid::child [" + (widget_ ? widget_->id() : "-") + "] " + __func__

Definition at line 32 of file grid.cpp.

Referenced by gui2::grid::child::get_best_size().

◆ LOG_HEADER

#define LOG_HEADER   LOG_SCOPE_HEADER + ':'

◆ LOG_IMPL_HEADER

#define LOG_IMPL_HEADER   "grid [" + grid.id() + "] " + __func__ + ':'

◆ LOG_SCOPE_HEADER

#define LOG_SCOPE_HEADER   "grid [" + id() + "] " + __func__