The Battle for Wesnoth  1.15.1+dev
Classes | Namespaces | Typedefs | Functions
window_builder.hpp File Reference
#include "gui/auxiliary/typed_formula.hpp"
#include "gui/core/linked_group_definition.hpp"
#include "gui/widgets/grid.hpp"
#include "color.hpp"
#include "utils/functional.hpp"
Include dependency graph for window_builder.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gui2::builder_widget
 Contains the info needed to instantiate a widget. More...
 
struct  gui2::builder_grid
 
class  gui2::builder_window
 
struct  gui2::builder_window::window_resolution
 
struct  gui2::builder_window::window_resolution::tooltip_info
 Helper struct to store information about the tips. More...
 

Namespaces

 gui2
 Generic file dialog.
 

Typedefs

typedef std::shared_ptr< builder_widget > gui2::builder_widget_ptr
 
typedef std::shared_ptr< const builder_widget > gui2::builder_widget_const_ptr
 
typedef std::shared_ptr< builder_grid > gui2::builder_grid_ptr
 
typedef std::shared_ptr< const builder_grid > gui2::builder_grid_const_ptr
 

Functions

window * gui2::build (const std::string &type)
 Builds a window. More...
 
builder_widget_ptr gui2::create_widget_builder (const config &cfg)
 Create a widget builder. More...
 
widget * gui2::build_single_widget_instance_helper (const std::string &type, const config &cfg)
 Helper function to implement build_single_widget_instance. More...
 
template<typename T >
T * gui2::build_single_widget_instance (const config &cfg=config())
 Builds a single widget instance of the given type with the specified attributes. More...
 
window * gui2::build (const builder_window::window_resolution *res)
 Builds a window. More...