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

Contains the state info for a resolution. More...

#include <widget_definition.hpp>

Public Member Functions

 tstate_definition (const config &cfg)
 

Public Attributes

tcanvas canvas
 

Detailed Description

Contains the state info for a resolution.

At the moment all states are the same so there is no need to use inheritance. If that is needed at some point the containers should contain pointers and we should inherit from reference_counted_object.

Definition at line 32 of file widget_definition.hpp.

Constructor & Destructor Documentation

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

Definition at line 549 of file settings.cpp.

References _(), canvas, config::child(), cursor::draw(), gui2::tcanvas::set_cfg(), and VALIDATE.

Member Data Documentation

tcanvas gui2::tstate_definition::canvas

Definition at line 36 of file widget_definition.hpp.

Referenced by tstate_definition().


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