The Battle for Wesnoth  1.17.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>


struct  window_resolution
Key Type Default Description
window_width unsigned 0 Width of the application window.

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

Constructor & Destructor Documentation

◆ builder_window()

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

Definition at line 137 of file window_builder.hpp.

References read().

Member Function Documentation

◆ read()

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

Member Data Documentation

◆ description_

std::string gui2::builder_window::description_

Definition at line 238 of file window_builder.hpp.

◆ id_

std::string gui2::builder_window::id_

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

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