The Battle for Wesnoth  1.19.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/optional_reference.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.


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


 Generic file dialog.


using gui2::builder_widget_ptr = std::shared_ptr< builder_widget >
using gui2::builder_widget_const_ptr = std::shared_ptr< const builder_widget >
using gui2::builder_grid_ptr = std::shared_ptr< builder_grid >
using gui2::builder_grid_const_ptr = std::shared_ptr< const builder_grid >
using gui2::builder_grid_map = std::map< std::string, builder_grid_const_ptr >


builder_widget_ptr gui2::create_widget_builder (const config &cfg)
 Create a widget builder. More...
std::unique_ptr< widget > gui2::build_single_widget_instance_helper (const std::string &type, const config &cfg)
 Implementation detail for build_single_widget_instance. More...
template<typename T >
std::unique_ptr< T > gui2::build_single_widget_instance (const config &cfg={})
 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...