The Battle for Wesnoth  1.15.0-dev
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 141 of file window_builder.hpp.

Constructor & Destructor Documentation

◆ builder_window()

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

Definition at line 144 of file window_builder.hpp.

References read().

Member Function Documentation

◆ read()

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

Member Data Documentation

◆ description_

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

Definition at line 210 of file window_builder.hpp.

◆ id_

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

Definition at line 209 of file window_builder.hpp.

◆ resolutions

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


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