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

#include <text_box.hpp>

Inheritance diagram for gui2::text_box_definition::resolution:
Inheritance graph

Public Member Functions

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

Public Attributes

typed_formula< unsigned > text_x_offset
 
typed_formula< unsigned > text_y_offset
 
- 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
 
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 305 of file text_box.hpp.

Constructor & Destructor Documentation

◆ resolution()

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

Definition at line 442 of file text_box.cpp.

References config::child(), and gui2::resolution_definition::state.

Member Data Documentation

◆ text_x_offset

typed_formula<unsigned> gui2::text_box_definition::resolution::text_x_offset

Definition at line 309 of file text_box.hpp.

◆ text_y_offset

typed_formula<unsigned> gui2::text_box_definition::resolution::text_y_offset

Definition at line 310 of file text_box.hpp.


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