The Battle for Wesnoth  1.15.1+dev
Namespaces | Macros
styled_widget.cpp File Reference
#include "gui/widgets/styled_widget.hpp"
#include "formatter.hpp"
#include "formula/string_utils.hpp"
#include "gettext.hpp"
#include "gui/auxiliary/iterator/walker_widget.hpp"
#include "gui/core/event/message.hpp"
#include "gui/core/gui_definition.hpp"
#include "gui/core/log.hpp"
#include "gui/dialogs/tooltip.hpp"
#include "gui/widgets/settings.hpp"
#include "gui/widgets/window.hpp"
#include "hotkey/hotkey_item.hpp"
#include "sdl/rect.hpp"
#include "wml_exception.hpp"
#include "utils/functional.hpp"
#include <algorithm>
#include <iomanip>
Include dependency graph for styled_widget.cpp:

Go to the source code of this file.

Namespaces

 gui2
 Generic file dialog.
 
 gui2::implementation
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 
#define LOG_SCOPE_HEADER   "styled_widget(" + get_control_type() + ") [" + id() + "] " + __func__
 
#define LOG_HEADER   LOG_SCOPE_HEADER + ':'
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file styled_widget.cpp.

◆ LOG_HEADER

#define LOG_HEADER   LOG_SCOPE_HEADER + ':'

◆ LOG_SCOPE_HEADER

#define LOG_SCOPE_HEADER   "styled_widget(" + get_control_type() + ") [" + id() + "] " + __func__

Definition at line 38 of file styled_widget.cpp.

Referenced by gui2::styled_widget::get_best_text_size().