stmm-games-doc  0.32.0
Public Attributes | List of all members
stmg::MainWindowData Struct Reference

Public Attributes

shared_ptr< StdConfigm_refStdConfig
 The configuration data. More...
 
unique_ptr< GameLoaderm_refGameLoader
 The game loader. More...
 
unique_ptr< HighscoresLoaderm_refHighscoresLoader
 The highscores loader. More...
 
unique_ptr< ThemeLoaderm_refThemeLoader
 The theme loader. More...
 
unique_ptr< AllPreferencesLoaderm_refAllPreferencesLoader
 The preferences loader. More...
 
File m_oIconFile
 The icon file. More...
 
File m_oLogoFile
 The logo file. More...
 
std::string m_sCopyright
 The Copyright string. More...
 
std::string m_sWebSite
 The web site. More...
 
std::vector< MainAuthorDatam_aAuthors
 The authors. More...
 
bool m_bPauseIfWindowDeactivated = true
 Whether to automatically pause the game when window deactivated. More...
 
bool m_bFullscreen = false
 Whether to run in fullscreen mode. More...
 
bool m_bShowHighscores = true
 Whether highscores menu item should be shown. More...
 
NSize m_oInitialSize = NSize{400, 600}
 The initial window size. More...
 

Member Data Documentation

◆ m_aAuthors

std::vector<MainAuthorData> stmg::MainWindowData::m_aAuthors

The authors.

◆ m_bFullscreen

bool stmg::MainWindowData::m_bFullscreen = false

Whether to run in fullscreen mode.

◆ m_bPauseIfWindowDeactivated

bool stmg::MainWindowData::m_bPauseIfWindowDeactivated = true

Whether to automatically pause the game when window deactivated.

◆ m_bShowHighscores

bool stmg::MainWindowData::m_bShowHighscores = true

Whether highscores menu item should be shown.

◆ m_oIconFile

File stmg::MainWindowData::m_oIconFile

The icon file.

Can be undefined.

◆ m_oInitialSize

NSize stmg::MainWindowData::m_oInitialSize = NSize{400, 600}

The initial window size.

Default: 400x600 pixel.

◆ m_oLogoFile

File stmg::MainWindowData::m_oLogoFile

The logo file.

Can be undefined.

◆ m_refAllPreferencesLoader

unique_ptr<AllPreferencesLoader> stmg::MainWindowData::m_refAllPreferencesLoader

The preferences loader.

Can be null.

◆ m_refGameLoader

unique_ptr<GameLoader> stmg::MainWindowData::m_refGameLoader

The game loader.

Cannot be null.

◆ m_refHighscoresLoader

unique_ptr<HighscoresLoader> stmg::MainWindowData::m_refHighscoresLoader

The highscores loader.

Can be null.

◆ m_refStdConfig

shared_ptr<StdConfig> stmg::MainWindowData::m_refStdConfig

The configuration data.

Cannot be null.

◆ m_refThemeLoader

unique_ptr<ThemeLoader> stmg::MainWindowData::m_refThemeLoader

The theme loader.

Cannot be null.

◆ m_sCopyright

std::string stmg::MainWindowData::m_sCopyright

The Copyright string.

If empty "stmm-games © 2019 Stefano Marsili" will be shown.

◆ m_sWebSite

std::string stmg::MainWindowData::m_sWebSite

The web site.

If empty "http://www.efanomars.com/libraries/stmm-games" will be shown.