The Battle for Wesnoth  1.19.5+dev
Classes | Namespaces | Macros | Functions | Variables
tooltip.cpp File Reference
#include "gui/dialogs/tooltip.hpp"
#include "gui/core/gui_definition.hpp"
#include "gui/dialogs/modal_dialog.hpp"
#include "gui/dialogs/modeless_dialog.hpp"
Include dependency graph for tooltip.cpp:

Go to the source code of this file.

Classes

class  gui2::dialogs::tooltip
 At the moment two kinds of tips are known: More...
 

Namespaces

 gui2
 Generic file dialog.
 
 gui2::dialogs
 
 gui2::dialogs::tip
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 
#define ERR_CFG   LOG_STREAM(warn, log_config)
 

Functions

void gui2::dialogs::tip::show (const std::string &window_id, const t_string &message, const point &mouse, const SDL_Rect &source_rect)
 Shows a tip. More...
 
void gui2::dialogs::tip::remove ()
 Removes a tip. More...
 

Variables

static lg::log_domain log_config ("config")
 
static std::unique_ptr< tooltipgui2::dialogs::tip::tip
 

Macro Definition Documentation

◆ ERR_CFG

#define ERR_CFG   LOG_STREAM(warn, log_config)

Definition at line 25 of file tooltip.cpp.

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 16 of file tooltip.cpp.

Variable Documentation

◆ log_config

lg::log_domain log_config("config") ( "config"  )
static