The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
button.cpp File Reference
#include "widgets/button.hpp"
#include "global.hpp"
#include "filesystem.hpp"
#include "font.hpp"
#include "game_config.hpp"
#include "game_errors.hpp"
#include "image.hpp"
#include "log.hpp"
#include "marked-up_text.hpp"
#include "sdl/rect.hpp"
#include "serialization/string_utils.hpp"
#include "sound.hpp"
#include "video.hpp"
#include "text.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::horizontal_padding = font::SIZE_SMALL
 
const int gui::vertical_padding = font::SIZE_SMALL / 2
 

Macro Definition Documentation

#define ERR_DP   LOG_STREAM(err, log_display)

Definition at line 38 of file button.cpp.

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

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file button.cpp.

Variable Documentation

lg::log_domain log_display("display")
static