The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
helper.cpp File Reference
#include "gui/core/window_builder/helper.hpp"
#include "config.hpp"
#include "gui/core/log.hpp"
#include "gui/widgets/grid.hpp"
#include "gui/widgets/window.hpp"
Include dependency graph for helper.cpp:

Go to the source code of this file.


 Generic file dialog.


#define GETTEXT_DOMAIN   "wesnoth-lib"


static std::map< std::string,
scrollbar_mode > unsigned 
gui2::implementation::get_v_align (const std::string &v_align)
 Returns the vertical alignment. More...
unsigned gui2::implementation::get_h_align (const std::string &h_align)
 Returns the horizontal alignment. More...
unsigned gui2::implementation::get_border (const std::vector< std::string > &borders)
 Returns the border flags. More...
unsigned gui2::implementation::read_flags (const config &cfg)
 Returns the placement/resize flags. More...
scrollbar_mode gui2::implementation::get_scrollbar_mode (const std::string &scrollbar_mode)
 Returns the scrollbar mode flags. More...
int gui2::implementation::get_retval (const std::string &retval_id, const int retval, const std::string &id)
 Returns the return value for a widget. More...


static std::map< std::string,
scrollbar_mode > 
gui2::implementation::scrollbar_mode_map { "always", scrollbar_mode::ALWAYS_VISIBLE }

Macro Definition Documentation

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file helper.cpp.