The Battle for Wesnoth  1.19.2+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 36 of file widget_definition.hpp.

Constructor & Destructor Documentation

◆ state_definition()

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

Definition at line 28 of file widget_definition.cpp.

Member Data Documentation

◆ canvas_cfg_

config gui2::state_definition::canvas_cfg_

Definition at line 40 of file widget_definition.hpp.

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