Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cqsp::client::SettingsWindow Class Reference

#include <settingswindow.h>

Inheritance diagram for cqsp::client::SettingsWindow:

Public Member Functions

 SettingsWindow (cqsp::engine::Application &app)
 
void ProcessEvent (Rml::Event &event)
 
void AddEventListeners ()
 
void InitializeOptionVariables ()
 
void RemoveEventListeners ()
 
void InitializeDataModel ()
 
void Show ()
 
void Hide ()
 
void Close ()
 
void LoadDocument ()
 
void ReloadDocument ()
 
float GetOpacity ()
 
void PushToBack ()
 

Private Member Functions

cqsp::engine::ApplicationGetApp ()
 

Private Attributes

const std::string document_name = "../data/core/gui/options.rml"
 
float ui_volume
 
float music_volume
 
bool full_screen
 
std::vector< Rml::Vector2i > window_sizes
 
Rml::ElementDocument * options_menu
 
Rml::DataModelHandle model_handle
 
cqsp::engine::Applicationapp
 

Constructor & Destructor Documentation

◆ SettingsWindow()

cqsp::client::SettingsWindow::SettingsWindow ( cqsp::engine::Application app)
explicit

Member Function Documentation

◆ AddEventListeners()

void cqsp::client::SettingsWindow::AddEventListeners ( )

◆ Close()

void cqsp::client::SettingsWindow::Close ( )

◆ GetApp()

cqsp::engine::Application & cqsp::client::SettingsWindow::GetApp ( )
inlineprivate

◆ GetOpacity()

float cqsp::client::SettingsWindow::GetOpacity ( )

◆ Hide()

void cqsp::client::SettingsWindow::Hide ( )

◆ InitializeDataModel()

void cqsp::client::SettingsWindow::InitializeDataModel ( )

◆ InitializeOptionVariables()

void cqsp::client::SettingsWindow::InitializeOptionVariables ( )

◆ LoadDocument()

void cqsp::client::SettingsWindow::LoadDocument ( )

◆ ProcessEvent()

void cqsp::client::SettingsWindow::ProcessEvent ( Rml::Event &  event)

◆ PushToBack()

void cqsp::client::SettingsWindow::PushToBack ( )

◆ ReloadDocument()

void cqsp::client::SettingsWindow::ReloadDocument ( )

◆ RemoveEventListeners()

void cqsp::client::SettingsWindow::RemoveEventListeners ( )

◆ Show()

void cqsp::client::SettingsWindow::Show ( )

Member Data Documentation

◆ app

cqsp::engine::Application& cqsp::client::SettingsWindow::app
private

◆ document_name

const std::string cqsp::client::SettingsWindow::document_name = "../data/core/gui/options.rml"
private

◆ full_screen

bool cqsp::client::SettingsWindow::full_screen
private

◆ model_handle

Rml::DataModelHandle cqsp::client::SettingsWindow::model_handle
private

◆ music_volume

float cqsp::client::SettingsWindow::music_volume
private

◆ options_menu

Rml::ElementDocument* cqsp::client::SettingsWindow::options_menu
private

◆ ui_volume

float cqsp::client::SettingsWindow::ui_volume
private

◆ window_sizes

std::vector<Rml::Vector2i> cqsp::client::SettingsWindow::window_sizes
private
Initial value:
= {{1024, 768}, {1280, 1024}, {1280, 720}, {1280, 800}, {1360, 768},
{1366, 768}, {1440, 900}, {1600, 900}, {1680, 1050}, {1920, 1200},
{1920, 1080}, {2560, 1440}, {2560, 1080}, {3440, 1440}, {3840, 2160}}

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