The Battle for Wesnoth 1.21.0-dev
 
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
helper.hpp File Reference
#include "gui/widgets/scrollbar_container.hpp"
#include <string>
#include <vector>
Include dependency graph for helper.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  gui2
 Generic file dialog.
 
namespace  gui2::implementation
 

Typedefs

using gui2::implementation::scrollbar_mode = scrollbar_container::scrollbar_mode
 

Functions

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