The Battle for Wesnoth  1.19.8+dev
Public Member Functions | Public Attributes | List of all members
gui2::rich_label_definition::resolution Struct Reference

#include <rich_label.hpp>

Inheritance diagram for gui2::rich_label_definition::resolution:

Public Member Functions

 resolution (const config &cfg)
 
- Public Member Functions inherited from gui2::resolution_definition
 resolution_definition (const config &cfg)
 

Public Attributes

color_t text_color_enabled
 
color_t text_color_disabled
 
color_t link_color
 
std::string font_family
 
int font_size
 
std::string font_style
 
- Public Attributes inherited from gui2::resolution_definition
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 331 of file rich_label.hpp.

Constructor & Destructor Documentation

◆ resolution()

gui2::rich_label_definition::resolution::resolution ( const config cfg)
explicit

Member Data Documentation

◆ font_family

std::string gui2::rich_label_definition::resolution::font_family

Definition at line 337 of file rich_label.hpp.

◆ font_size

int gui2::rich_label_definition::resolution::font_size

Definition at line 338 of file rich_label.hpp.

◆ font_style

std::string gui2::rich_label_definition::resolution::font_style

Definition at line 339 of file rich_label.hpp.

◆ link_color

color_t gui2::rich_label_definition::resolution::link_color

Definition at line 336 of file rich_label.hpp.

◆ text_color_disabled

color_t gui2::rich_label_definition::resolution::text_color_disabled

Definition at line 335 of file rich_label.hpp.

◆ text_color_enabled

color_t gui2::rich_label_definition::resolution::text_color_enabled

Definition at line 335 of file rich_label.hpp.


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