The Battle for Wesnoth  1.15.9+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 <functional>
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.


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
Key Type Default Description
window_width unsigned 0 Width of the application window.
struct  gui2::builder_window::window_resolution::tooltip_info
 Helper struct to store information about the tips. More...


 Generic file dialog.


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


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...
std::unique_ptr< window > gui2::build (const std::string &type)
 Builds a window. More...
std::unique_ptr< window > gui2::build (const builder_window::window_resolution &res)
 Builds a window. More...