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

#include <widget_definition.hpp>

Inheritance diagram for gui2::resolution_definition:

Public Member Functions

 resolution_definition (const config &cfg)
 

Public Attributes

unsigned window_width
 
unsigned window_height
 
unsigned min_width
 
unsigned min_height
 
unsigned default_width
 
unsigned default_height
 
unsigned max_width
 
unsigned max_height
 
std::vector< linked_group_definitionlinked_groups
 
unsigned text_extra_width
 
unsigned text_extra_height
 
typed_formula< unsigned > text_font_size
 
font::family_class text_font_family
 
font::pango_text::FONT_STYLE text_font_style
 
std::vector< state_definitionstate
 

Detailed Description

Definition at line 43 of file widget_definition.hpp.

Constructor & Destructor Documentation

◆ resolution_definition()

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

Member Data Documentation

◆ default_height

unsigned gui2::resolution_definition::default_height

Definition at line 54 of file widget_definition.hpp.

◆ default_width

unsigned gui2::resolution_definition::default_width

Definition at line 53 of file widget_definition.hpp.

◆ linked_groups

std::vector<linked_group_definition> gui2::resolution_definition::linked_groups

Definition at line 59 of file widget_definition.hpp.

Referenced by resolution_definition().

◆ max_height

unsigned gui2::resolution_definition::max_height

Definition at line 57 of file widget_definition.hpp.

◆ max_width

unsigned gui2::resolution_definition::max_width

Definition at line 56 of file widget_definition.hpp.

◆ min_height

unsigned gui2::resolution_definition::min_height

Definition at line 51 of file widget_definition.hpp.

◆ min_width

unsigned gui2::resolution_definition::min_width

Definition at line 50 of file widget_definition.hpp.

◆ state

std::vector<state_definition> gui2::resolution_definition::state

Definition at line 68 of file widget_definition.hpp.

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

◆ text_extra_height

unsigned gui2::resolution_definition::text_extra_height

Definition at line 62 of file widget_definition.hpp.

◆ text_extra_width

unsigned gui2::resolution_definition::text_extra_width

Definition at line 61 of file widget_definition.hpp.

◆ text_font_family

font::family_class gui2::resolution_definition::text_font_family

Definition at line 65 of file widget_definition.hpp.

◆ text_font_size

typed_formula<unsigned> gui2::resolution_definition::text_font_size

Definition at line 63 of file widget_definition.hpp.

◆ text_font_style

font::pango_text::FONT_STYLE gui2::resolution_definition::text_font_style

Definition at line 66 of file widget_definition.hpp.

◆ window_height

unsigned gui2::resolution_definition::window_height

Definition at line 48 of file widget_definition.hpp.

Referenced by resolution_definition().

◆ window_width

unsigned gui2::resolution_definition::window_width

Definition at line 47 of file widget_definition.hpp.

Referenced by resolution_definition().


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