Public Member Functions | Public Attributes

gui2::tcontrol_definition Struct Reference

#include <widget_definition.hpp>

Inheritance diagram for gui2::tcontrol_definition:
Inheritance graph
[legend]
Collaboration diagram for gui2::tcontrol_definition:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 tcontrol_definition (const config &cfg)
template<class T >
void load_resolutions (const config &cfg)

Public Attributes

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

Detailed Description

Definition at line 92 of file widget_definition.hpp.


Constructor & Destructor Documentation

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

Definition at line 108 of file widget_definition.cpp.

References _, config::child_range(), description, t_string::empty(), missing_mandatory_wml_key(), and VALIDATE.

Here is the call graph for this function:


Member Function Documentation

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

Definition at line 98 of file widget_definition.hpp.

References config::child_range(), preferences::resolution(), and resolutions.

Here is the call graph for this function:


Member Data Documentation

Definition at line 107 of file widget_definition.hpp.

Referenced by tcontrol_definition().

Definition at line 106 of file widget_definition.hpp.

Definition at line 109 of file widget_definition.hpp.

Referenced by load_resolutions().


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:21:05 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs