The Battle for Wesnoth  1.19.5+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 150 of file window_builder.hpp.

Constructor & Destructor Documentation

◆ builder_window()

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

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

Referenced by read().

◆ id_

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

Definition at line 217 of file window_builder.hpp.

Referenced by read().

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

Referenced by read().


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