The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
gui2::implementation::tbuilder_instance Struct Reference

#include <instance.hpp>

Inheritance diagram for gui2::implementation::tbuilder_instance:
Inheritance graph

Public Member Functions

 tbuilder_instance (const config &cfg)
 
twidgetbuild () const
 
twidgetbuild (const treplacements &replacements) const
 
- Public Member Functions inherited from gui2::tbuilder_widget
 tbuilder_widget (const config &cfg)
 
virtual ~tbuilder_widget ()
 
- Public Member Functions inherited from reference_counted_object
 reference_counted_object ()
 
 reference_counted_object (const reference_counted_object &)
 
reference_counted_objectoperator= (const reference_counted_object &)
 
virtual ~reference_counted_object ()
 
void add_ref () const
 
void dec_ref () const
 
int refcount () const
 

Public Attributes

config configuration
 Holds a copy of the cfg parameter in the constructor. More...
 
- Public Attributes inherited from gui2::tbuilder_widget
std::string id
 Parameters for the widget. More...
 
std::string linked_group
 
int debug_border_mode
 
unsigned debug_border_color
 

Additional Inherited Members

- Public Types inherited from gui2::tbuilder_widget
typedef std::map< std::string,
boost::intrusive_ptr
< tbuilder_widget > > 
treplacements
 The replacements type is used to define replacement types. More...
 
- Protected Member Functions inherited from reference_counted_object
void turn_reference_counting_off () const
 

Detailed Description

Definition at line 28 of file instance.hpp.

Constructor & Destructor Documentation

gui2::implementation::tbuilder_instance::tbuilder_instance ( const config cfg)
explicit

Definition at line 27 of file instance.cpp.

Member Function Documentation

twidget * gui2::implementation::tbuilder_instance::build ( ) const
virtual

Implements gui2::tbuilder_widget.

Definition at line 32 of file instance.cpp.

twidget * gui2::implementation::tbuilder_instance::build ( const treplacements replacements) const
virtual

Member Data Documentation

config gui2::implementation::tbuilder_instance::configuration

Holds a copy of the cfg parameter in the constructor.

This is used when instantiating a spacer, it can still use the parameters originally sent.

Definition at line 42 of file instance.hpp.

Referenced by build().


The documentation for this struct was generated from the following files: