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

#include <window.hpp>

Inheritance diagram for gui2::window_definition::resolution:

Public Member Functions

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

Public Attributes

builder_grid_ptr grid
 
- Public Attributes inherited from gui2::panel_definition::resolution
unsigned top_border
 
unsigned bottom_border
 
unsigned left_border
 
unsigned right_border
 
- 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 778 of file window.hpp.

Constructor & Destructor Documentation

◆ resolution()

gui2::window_definition::resolution::resolution ( const config cfg)
explicit
Todo:
Evaluate whether the grid should become mandatory.

Definition at line 1394 of file window.cpp.

References config::optional_child().

Member Data Documentation

◆ grid

builder_grid_ptr gui2::window_definition::resolution::grid

Definition at line 782 of file window.hpp.


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