The Battle for Wesnoth  1.17.12+dev
Namespaces | Macros | Functions | Variables
show_dialog.cpp File Reference
#include "show_dialog.hpp"
#include "draw.hpp"
#include "draw_manager.hpp"
#include "floating_label.hpp"
#include "picture.hpp"
#include "gettext.hpp"
#include "gui/core/event/handler.hpp"
#include "help/help.hpp"
#include "hotkey/command_executor.hpp"
#include "log.hpp"
#include "font/sdl_ttf_compat.hpp"
#include "font/standard_colors.hpp"
#include "sdl/rect.hpp"
#include "sdl/input.hpp"
#include "sdl/utils.hpp"
#include "video.hpp"
Include dependency graph for show_dialog.cpp:

Go to the source code of this file.

Namespaces

 gui
 General purpose widgets.
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 
#define ERR_DP   LOG_STREAM(err, log_display)
 
#define WRN_DP   LOG_STREAM(warn, log_display)
 
#define DBG_DP   LOG_STREAM(debug, log_display)
 
#define ERR_G   LOG_STREAM(err, lg::general)
 

Functions

bool gui::in_dialog ()
 

Variables

static lg::log_domain log_display ("display")
 
const int gui::ButtonHPadding = 10
 
const int gui::ButtonVPadding = 10
 

Macro Definition Documentation

◆ DBG_DP

#define DBG_DP   LOG_STREAM(debug, log_display)

Definition at line 39 of file show_dialog.cpp.

Referenced by gui::dialog_frame::expose().

◆ ERR_DP

#define ERR_DP   LOG_STREAM(err, log_display)

Definition at line 37 of file show_dialog.cpp.

Referenced by gui::dialog_frame::draw_background().

◆ ERR_G

#define ERR_G   LOG_STREAM(err, lg::general)

Definition at line 40 of file show_dialog.cpp.

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 16 of file show_dialog.cpp.

◆ WRN_DP

#define WRN_DP   LOG_STREAM(warn, log_display)

Definition at line 38 of file show_dialog.cpp.

Variable Documentation

◆ log_display

lg::log_domain log_display("display")
static