The Battle for Wesnoth  1.19.5+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, std::unique_ptr< widget > widget)
 Sets the single child in a grid. More...
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 16 of file grid.cpp.

◆ LOG_CHILD_HEADER

#define LOG_CHILD_HEADER   LOG_CHILD_SCOPE_HEADER + ':'

Definition at line 35 of file grid.cpp.

◆ LOG_CHILD_SCOPE_HEADER

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

Definition at line 33 of file grid.cpp.

◆ LOG_HEADER

#define LOG_HEADER   LOG_SCOPE_HEADER + ':'

Definition at line 30 of file grid.cpp.

◆ LOG_IMPL_HEADER

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

Definition at line 31 of file grid.cpp.

◆ LOG_SCOPE_HEADER

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

Definition at line 29 of file grid.cpp.