Namespaces | Defines | Functions

gui/widgets/grid.cpp File Reference

#include "gui/widgets/grid_private.hpp"
#include "gui/auxiliary/iterator/walker_grid.hpp"
#include "gui/auxiliary/log.hpp"
#include "gui/auxiliary/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

namespace  gui2
 

A class inherited from ttext_box that displays its input as stars.


Defines

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

Define Documentation

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 16 of file grid.cpp.

#define LOG_CHILD_HEADER   LOG_CHILD_SCOPE_HEADER + ':'

Definition at line 33 of file grid.cpp.

Referenced by gui2::tgrid::tchild::get_best_size(), and gui2::tgrid::tchild::place().

#define LOG_CHILD_SCOPE_HEADER
Value:
"tgrid::tchild [" \
        + (widget_ ? widget_->id() : "-") + "] " + __func__

Definition at line 31 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__
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:05:17 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs