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

Go to the source code of this file.

Classes

class  gui2::dialogs::tooltip
 Class to show the tips. 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

static tooltip & gui2::dialogs::tip::tip ()
 
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")
 

Macro Definition Documentation

◆ ERR_CFG

#define ERR_CFG   LOG_STREAM(warn, log_config)

Definition at line 27 of file tooltip.cpp.

Referenced by gui2::dialogs::tip::show().

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file tooltip.cpp.

Variable Documentation

◆ log_config

lg::log_domain log_config("config")
static