The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Variables
help_text_area.cpp File Reference
#include "help_text_area.hpp"
#include "config.hpp"
#include "game_config.hpp"
#include "help/help_impl.hpp"
#include "image.hpp"
#include "log.hpp"
#include "sdl/rect.hpp"
#include "serialization/parser.hpp"
#include "util.hpp"
#include "video.hpp"
#include <algorithm>
#include <ostream>
#include <vector>
#include <SDL.h>
Include dependency graph for help_text_area.cpp:

Go to the source code of this file.

Namespaces

 help
 

Macros

#define WRN_DP   LOG_STREAM(warn, log_display)
 
#define TRY(name)
 

Variables

static lg::log_domain log_display ("display")
 

Macro Definition Documentation

#define TRY (   name)
Value:
do { \
if (config &child = cfg.child(#name)) \
handle_##name##_cfg(child); \
} while (0)
GLuint const GLchar * name
Definition: glew.h:1782
config & child(const std::string &key, int n=0)
Returns the nth child with the given key, or a reference to an invalid config if there is none...
Definition: config.cpp:658
CALLABLE_WRAPPER_INPUT_END if(key=="terrain")
A config object defines a single node in a WML file, with access to child nodes.
Definition: config.hpp:83

Referenced by help::help_text_area::set_items().

#define WRN_DP   LOG_STREAM(warn, log_display)

Definition at line 33 of file help_text_area.cpp.

Referenced by help::help_text_area::add_img_item().

Variable Documentation

lg::log_domain log_display("display")
static