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

Base class of a resolution, contains the common keys for a resolution. More...

#include <widget_definition.hpp>

Inheritance diagram for gui2::resolution_definition:
Inheritance graph

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
 
unsigned text_font_size
 
font::family_class text_font_family
 
font::pango_text::FONT_STYLE text_font_style
 
std::vector< state_definitionstate
 

Detailed Description

Base class of a resolution, contains the common keys for a resolution.

Definition at line 42 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 53 of file widget_definition.hpp.

◆ default_width

unsigned gui2::resolution_definition::default_width

Definition at line 52 of file widget_definition.hpp.

◆ linked_groups

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

Definition at line 58 of file widget_definition.hpp.

Referenced by resolution_definition().

◆ max_height

unsigned gui2::resolution_definition::max_height

Definition at line 56 of file widget_definition.hpp.

◆ max_width

unsigned gui2::resolution_definition::max_width

Definition at line 55 of file widget_definition.hpp.

◆ min_height

unsigned gui2::resolution_definition::min_height

Definition at line 50 of file widget_definition.hpp.

◆ min_width

unsigned gui2::resolution_definition::min_width

Definition at line 49 of file widget_definition.hpp.

◆ state

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

Definition at line 67 of file widget_definition.hpp.

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

◆ text_extra_height

unsigned gui2::resolution_definition::text_extra_height

Definition at line 61 of file widget_definition.hpp.

◆ text_extra_width

unsigned gui2::resolution_definition::text_extra_width

Definition at line 60 of file widget_definition.hpp.

◆ text_font_family

font::family_class gui2::resolution_definition::text_font_family

Definition at line 64 of file widget_definition.hpp.

◆ text_font_size

unsigned gui2::resolution_definition::text_font_size

Definition at line 62 of file widget_definition.hpp.

◆ text_font_style

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

Definition at line 65 of file widget_definition.hpp.

◆ window_height

unsigned gui2::resolution_definition::window_height

Definition at line 47 of file widget_definition.hpp.

Referenced by resolution_definition().

◆ window_width

unsigned gui2::resolution_definition::window_width

Definition at line 46 of file widget_definition.hpp.

Referenced by resolution_definition().


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