The Battle for Wesnoth  1.19.0+dev
Namespaces | Macros | Variables
help_text_area.cpp File Reference
#include "help/help_text_area.hpp"
#include "config.hpp"
#include "draw.hpp"
#include "font/sdl_ttf_compat.hpp"
#include "game_config.hpp"
#include "help/help_impl.hpp"
#include "lexical_cast.hpp"
#include "log.hpp"
#include "picture.hpp"
#include "preferences/general.hpp"
#include "sdl/rect.hpp"
#include "sdl/texture.hpp"
#include "serialization/parser.hpp"
#include <algorithm>
#include <vector>
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 ERR_HP   LOG_STREAM(err, log_help)
 
#define WRN_HP   LOG_STREAM(warn, log_help)
 
#define DBG_HP   LOG_STREAM(debug, log_help)
 
#define TRY(name)
 

Variables

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

Macro Definition Documentation

◆ DBG_HP

#define DBG_HP   LOG_STREAM(debug, log_help)

Definition at line 40 of file help_text_area.cpp.

◆ ERR_HP

#define ERR_HP   LOG_STREAM(err, log_help)

Definition at line 38 of file help_text_area.cpp.

◆ TRY

#define TRY (   name)
Value:
do { \
if (auto child = cfg.optional_child(#name)) \
handle_##name##_cfg(*child); \
} while (0)

◆ WRN_DP

#define WRN_DP   LOG_STREAM(warn, log_display)

Definition at line 35 of file help_text_area.cpp.

◆ WRN_HP

#define WRN_HP   LOG_STREAM(warn, log_help)

Definition at line 39 of file help_text_area.cpp.

Variable Documentation

◆ log_display

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

◆ log_help

lg::log_domain log_help("help") ( "help"  )
static