The Battle for Wesnoth  1.15.1+dev
Public Member Functions | Public Attributes | List of all members
gui2::state_definition Struct Reference

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

#include <widget_definition.hpp>

Public Member Functions

 state_definition (const config &cfg)
 

Public Attributes

config canvas_cfg_
 

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

Definition at line 34 of file widget_definition.hpp.

Constructor & Destructor Documentation

◆ state_definition()

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

Definition at line 46 of file widget_definition.cpp.

References _(), canvas_cfg_, and VALIDATE.

Member Data Documentation

◆ canvas_cfg_

config gui2::state_definition::canvas_cfg_

Definition at line 38 of file widget_definition.hpp.

Referenced by state_definition().


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