The Battle for Wesnoth  1.15.1+dev
Namespaces | Macros | Functions | Variables
button.cpp File Reference
#include "widgets/button.hpp"
#include "filesystem.hpp"
#include "font/sdl_ttf.hpp"
#include "game_config.hpp"
#include "game_errors.hpp"
#include "picture.hpp"
#include "log.hpp"
#include "font/marked-up_text.hpp"
#include "font/standard_colors.hpp"
#include "sdl/rect.hpp"
#include "serialization/string_utils.hpp"
#include "sound.hpp"
#include "video.hpp"
#include "wml_separators.hpp"
#include <boost/algorithm/string/predicate.hpp>
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::font_size = font::SIZE_NORMAL
 
const int gui::horizontal_padding = font::SIZE_SMALL
 
const int gui::checkbox_horizontal_padding = font::SIZE_SMALL / 2
 
const int gui::vertical_padding = font::SIZE_SMALL / 2
 

Macro Definition Documentation

◆ ERR_DP

#define ERR_DP   LOG_STREAM(err, log_display)

Definition at line 36 of file button.cpp.

Referenced by gui::button::load_images().

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file button.cpp.

Variable Documentation

◆ log_display

lg::log_domain log_display("display")
static