The Battle for Wesnoth  1.17.0-dev
Public Member Functions | Public Attributes | List of all members
gui2::styled_widget_definition Struct Reference

#include <widget_definition.hpp>

Inheritance diagram for gui2::styled_widget_definition:

Public Member Functions

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

Public Attributes

std::string id
t_string description
std::vector< resolution_definition_ptrresolutions

Detailed Description

Definition at line 111 of file widget_definition.hpp.

Constructor & Destructor Documentation

◆ styled_widget_definition()

gui2::styled_widget_definition::styled_widget_definition ( const config cfg)

Member Function Documentation

◆ load_resolutions()

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

Definition at line 116 of file widget_definition.hpp.

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

Member Data Documentation

◆ description

t_string gui2::styled_widget_definition::description

Definition at line 124 of file widget_definition.hpp.

Referenced by styled_widget_definition().

◆ id

std::string gui2::styled_widget_definition::id

Definition at line 123 of file widget_definition.hpp.

◆ resolutions

std::vector<resolution_definition_ptr> gui2::styled_widget_definition::resolutions

Definition at line 126 of file widget_definition.hpp.

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