The Battle for Wesnoth  1.17.23+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:

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
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 325 of file text_box.hpp.

Constructor & Destructor Documentation

◆ resolution()

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

Definition at line 405 of file text_box.cpp.

References _(), gui2::resolution_definition::state, and VALIDATE_WML_CHILD.

Member Data Documentation

◆ text_x_offset

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

Definition at line 329 of file text_box.hpp.

◆ text_y_offset

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

Definition at line 330 of file text_box.hpp.

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