The Battle for Wesnoth  1.19.0-dev
Classes | Public Member Functions | List of all members
gui2::button_definition Struct Reference

#include <button.hpp>

Inheritance diagram for gui2::button_definition:

Classes

struct  resolution
 

Public Member Functions

 button_definition (const config &cfg)
 
- Public Member Functions inherited from gui2::styled_widget_definition
 styled_widget_definition (const config &cfg)
 
template<class T >
void load_resolutions (const config &cfg)
 

Additional Inherited Members

- Public Attributes inherited from gui2::styled_widget_definition
std::string id
 
t_string description
 
std::vector< resolution_definition_ptrresolutions
 

Detailed Description

Definition at line 126 of file button.hpp.

Constructor & Destructor Documentation

◆ button_definition()

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

Definition at line 150 of file button.cpp.

References DBG_GUI_P, and gui2::styled_widget_definition::id.


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