The Battle for Wesnoth  1.19.6+dev
Namespaces | Macros | Functions | Variables
button.cpp File Reference
#include "widgets/button.hpp"
#include "draw.hpp"
#include "filesystem.hpp"
#include "game_config.hpp"
#include "picture.hpp"
#include "log.hpp"
#include "font/sdl_ttf_compat.hpp"
#include "font/standard_colors.hpp"
#include "sdl/rect.hpp"
#include "serialization/string_utils.hpp"
#include "sound.hpp"
#include "wml_separators.hpp"
#include <boost/algorithm/string/predicate.hpp>
#include <utility>
Include dependency graph for button.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)
 

Functions

static bool gui::is_valid_image (const std::string &str)
 

Variables

static lg::log_domain log_display ("display")
 
const int gui::default_font_size = font::SIZE_BUTTON
 

Macro Definition Documentation

◆ ERR_DP

#define ERR_DP   LOG_STREAM(err, log_display)

Definition at line 36 of file button.cpp.

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 16 of file button.cpp.

Variable Documentation

◆ log_display

lg::log_domain log_display("display") ( "display"  )
static