The Battle for Wesnoth  1.15.0+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 "wml_exception.hpp"
Include dependency graph for gui_definition.cpp:

Go to the source code of this file.


 Generic file dialog.


#define GETTEXT_DOMAIN   "wesnoth-lib"


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...


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


#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file gui_definition.cpp.