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::tcontrol_definition Struct Reference

#include <widget_definition.hpp>

Inheritance diagram for gui2::tcontrol_definition:
Inheritance graph

Public Member Functions

 tcontrol_definition (const config &cfg)
 
template<class T >
void load_resolutions (const config &cfg)
 
- 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

std::string id
 
t_string description
 
std::vector
< tresolution_definition_ptr
resolutions
 

Additional Inherited Members

- Protected Member Functions inherited from reference_counted_object
void turn_reference_counting_off () const
 

Detailed Description

Definition at line 90 of file widget_definition.hpp.

Constructor & Destructor Documentation

gui2::tcontrol_definition::tcontrol_definition ( const config cfg)
explicit

Member Function Documentation

template<class T >
void gui2::tcontrol_definition::load_resolutions ( const config cfg)
inline

Member Data Documentation

t_string gui2::tcontrol_definition::description

Definition at line 104 of file widget_definition.hpp.

Referenced by tcontrol_definition().

std::string gui2::tcontrol_definition::id

Definition at line 103 of file widget_definition.hpp.

std::vector<tresolution_definition_ptr> gui2::tcontrol_definition::resolutions

Definition at line 106 of file widget_definition.hpp.

Referenced by load_resolutions().


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