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

#include <window_builder.hpp>

Classes

struct  window_resolution
 

Public Member Functions

 builder_window (const config &cfg)
 

Public Attributes

std::vector< window_resolutionresolutions
 Resolution options for this window instance. More...
 

Private Member Functions

void read (const config &cfg)
 

Private Attributes

std::string id_
 
std::string description_
 

Detailed Description

Definition at line 159 of file window_builder.hpp.

Constructor & Destructor Documentation

gui2::builder_window::builder_window ( const config cfg)
inlineexplicit

Definition at line 162 of file window_builder.hpp.

References read().

Member Function Documentation

void gui2::builder_window::read ( const config cfg)
private

Member Data Documentation

std::string gui2::builder_window::description_
private

Definition at line 228 of file window_builder.hpp.

Referenced by read().

std::string gui2::builder_window::id_
private

Definition at line 227 of file window_builder.hpp.

Referenced by read().

std::vector<window_resolution> gui2::builder_window::resolutions

Resolution options for this window instance.

The window widget handles resolution options differently from other widgets. Most specify their resolution options in their definitions. However, windows define different resolution options for each window instance. That enables each dialog to have its own set of options.

Definition at line 222 of file window_builder.hpp.

Referenced by read().


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