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

Constructor & Destructor Documentation

◆ styled_widget_definition()

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

Member Function Documentation

◆ load_resolutions()

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

Definition at line 82 of file widget_definition.hpp.

References config::child_range(), and resolutions.

Member Data Documentation

◆ description

t_string gui2::styled_widget_definition::description

Definition at line 90 of file widget_definition.hpp.

Referenced by styled_widget_definition().

◆ id

std::string gui2::styled_widget_definition::id

Definition at line 89 of file widget_definition.hpp.

Referenced by gui2::addon_list_definition::addon_list_definition(), gui2::button_definition::button_definition(), gui2::combobox_definition::combobox_definition(), gui2::drawing_definition::drawing_definition(), gui2::horizontal_scrollbar_definition::horizontal_scrollbar_definition(), gui2::image_definition::image_definition(), gui2::label_definition::label_definition(), gui2::listbox_definition::listbox_definition(), gui2::matrix_definition::matrix_definition(), gui2::menu_button_definition::menu_button_definition(), gui2::minimap_definition::minimap_definition(), gui2::multi_page_definition::multi_page_definition(), gui2::multiline_text_definition::multiline_text_definition(), gui2::multimenu_button_definition::multimenu_button_definition(), gui2::panel_definition::panel_definition(), gui2::progress_bar_definition::progress_bar_definition(), gui2::repeating_button_definition::repeating_button_definition(), gui2::rich_label_definition::rich_label_definition(), gui2::scroll_label_definition::scroll_label_definition(), gui2::scroll_text_definition::scroll_text_definition(), gui2::scrollbar_panel_definition::scrollbar_panel_definition(), gui2::size_lock_definition::size_lock_definition(), gui2::slider_definition::slider_definition(), gui2::spacer_definition::spacer_definition(), gui2::spinner_definition::spinner_definition(), gui2::stacked_widget_definition::stacked_widget_definition(), gui2::tab_container_definition::tab_container_definition(), gui2::text_box_definition::text_box_definition(), gui2::toggle_button_definition::toggle_button_definition(), gui2::toggle_panel_definition::toggle_panel_definition(), gui2::tree_view_definition::tree_view_definition(), gui2::unit_preview_pane_definition::unit_preview_pane_definition(), gui2::vertical_scrollbar_definition::vertical_scrollbar_definition(), and gui2::window_definition::window_definition().

◆ resolutions

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

Definition at line 92 of file widget_definition.hpp.

Referenced by load_resolutions().


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