The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
gui2::tresolution_definition_ Struct Reference

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

#include <widget_definition.hpp>

Inheritance diagram for gui2::tresolution_definition_:
Inheritance graph

Public Member Functions

 tresolution_definition_ (const config &cfg)
 
- Public Member Functions inherited from reference_counted_object
 reference_counted_object ()
 
 reference_counted_object (const reference_counted_object &)
 
reference_counted_objectoperator= (const reference_counted_object &)
 
virtual ~reference_counted_object ()
 
void add_ref () const
 
void dec_ref () const
 
int refcount () const
 

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
 
unsigned text_extra_width
 
unsigned text_extra_height
 
unsigned text_font_size
 
font::family_class text_font_family
 
int text_font_style
 
std::vector< tstate_definitionstate
 

Additional Inherited Members

- Protected Member Functions inherited from reference_counted_object
void turn_reference_counting_off () const
 

Detailed Description

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

Definition at line 41 of file widget_definition.hpp.

Constructor & Destructor Documentation

gui2::tresolution_definition_::tresolution_definition_ ( const config cfg)
explicit

Definition at line 92 of file widget_definition.cpp.

References DBG_GUI_P, window_height, and window_width.

Member Data Documentation

unsigned gui2::tresolution_definition_::default_height

Definition at line 52 of file widget_definition.hpp.

unsigned gui2::tresolution_definition_::default_width

Definition at line 51 of file widget_definition.hpp.

unsigned gui2::tresolution_definition_::max_height

Definition at line 55 of file widget_definition.hpp.

unsigned gui2::tresolution_definition_::max_width

Definition at line 54 of file widget_definition.hpp.

unsigned gui2::tresolution_definition_::min_height

Definition at line 49 of file widget_definition.hpp.

unsigned gui2::tresolution_definition_::min_width

Definition at line 48 of file widget_definition.hpp.

std::vector<tstate_definition> gui2::tresolution_definition_::state
unsigned gui2::tresolution_definition_::text_extra_height

Definition at line 58 of file widget_definition.hpp.

unsigned gui2::tresolution_definition_::text_extra_width

Definition at line 57 of file widget_definition.hpp.

font::family_class gui2::tresolution_definition_::text_font_family

Definition at line 60 of file widget_definition.hpp.

unsigned gui2::tresolution_definition_::text_font_size

Definition at line 59 of file widget_definition.hpp.

int gui2::tresolution_definition_::text_font_style

Definition at line 61 of file widget_definition.hpp.

unsigned gui2::tresolution_definition_::window_height

Definition at line 46 of file widget_definition.hpp.

Referenced by tresolution_definition_().

unsigned gui2::tresolution_definition_::window_width

Definition at line 45 of file widget_definition.hpp.

Referenced by tresolution_definition_().


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