The Battle for Wesnoth  1.19.5+dev
Namespaces | Macros | Functions | Variables
gui_definition.cpp File Reference
#include "gui/core/gui_definition.hpp"
#include "config.hpp"
#include "formatter.hpp"
#include "gui/core/log.hpp"
#include "gui/core/static_registry.hpp"
#include "gui/widgets/settings.hpp"
#include "serialization/chrono.hpp"
#include "wml_exception.hpp"
Include dependency graph for gui_definition.cpp:

Go to the source code of this file.

Namespaces

 gui2
 Generic file dialog.
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 

Functions

resolution_definition_ptr gui2::get_control (const std::string &control_type, const std::string &definition)
 Returns the appropriate config data for a widget instance fom the active GUI definition. More...
 
const builder_window::window_resolution & gui2::get_window_builder (const std::string &type)
 Returns an reference to the requested builder. More...
 
bool gui2::add_single_widget_definition (const std::string &widget_type, const std::string &definition_id, const config &cfg)
 Adds a widget definition to the default GUI. More...
 
void gui2::remove_single_widget_definition (const std::string &widget_type, const std::string &definition_id)
 Removes a widget definition from the default GUI. More...
 

Variables

gui_theme_map_t gui2::guis
 Map of all known GUIs. More...
 
gui_theme_map_t::iterator gui2::current_gui = guis.end()
 Iterator pointing to the current GUI. More...
 
gui_theme_map_t::iterator gui2::default_gui = guis.end()
 Iterator pointing to the default GUI. More...
 

Macro Definition Documentation

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 16 of file gui_definition.cpp.