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>


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 142 of file window_builder.hpp.

Constructor & Destructor Documentation

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

Definition at line 145 of file window_builder.hpp.

References read().

Member Function Documentation

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

Member Data Documentation

std::string gui2::builder_window::description_

Definition at line 211 of file window_builder.hpp.

Referenced by read().

std::string gui2::builder_window::id_

Definition at line 210 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 205 of file window_builder.hpp.

Referenced by read().

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