The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Typedefs | Functions
window_builder.hpp File Reference
#include "gui/auxiliary/formula.hpp"
#include "gui/widgets/grid.hpp"
#include "reference_counted_object.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::tbuilder_widget
 Contains the info needed to instantiate a widget. More...
 
struct  gui2::tbuilder_grid
 
class  gui2::twindow_builder
 
struct  gui2::twindow_builder::tresolution
 
struct  gui2::twindow_builder::tresolution::tlinked_group
 
struct  gui2::twindow_builder::tresolution::ttip
 Helper struct to store information about the tips. More...
 

Namespaces

 gui2
 A class inherited from ttext_box that displays its input as stars.
 

Typedefs

typedef boost::intrusive_ptr
< tbuilder_widget > 
gui2::tbuilder_widget_ptr
 
typedef boost::intrusive_ptr
< const tbuilder_widget > 
gui2::const_tbuilder_widget_ptr
 
typedef boost::intrusive_ptr
< tbuilder_grid > 
gui2::tbuilder_grid_ptr
 
typedef boost::intrusive_ptr
< const tbuilder_grid > 
gui2::tbuilder_grid_const_ptr
 

Functions

twindow * gui2::build (CVideo &video, const std::string &type)
 Builds a window. More...
 
void gui2::register_builder_widget (const std::string &id, std::function< tbuilder_widget_ptr(config)> functor)
 Registers a widget to be build. More...
 
tbuilder_widget_ptr gui2::create_builder_widget (const config &cfg)
 Create a widget builder. More...
 
template<class T >
tbuilder_widget_ptr gui2::build_widget (const config &cfg)
 Helper to generate a widget from a WML widget instance. More...
 
twindow * gui2::build (CVideo &video, const twindow_builder::tresolution *res)
 Builds a window. More...