Colobot
Public Member Functions | Protected Attributes | List of all members
CSettings Class Reference
Inheritance diagram for CSettings:
Inheritance graph
[legend]

Public Member Functions

void SaveResolutionSettings (const Gfx::DeviceConfig &config)
 
void SaveSettings ()
 
void LoadSettings ()
 
void SetTooltips (bool tooltips)
 
bool GetTooltips ()
 
void SetInterfaceGlint (bool interfaceGlint)
 
bool GetInterfaceGlint ()
 
void SetInterfaceRain (bool interfaceRain)
 
bool GetInterfaceRain ()
 
void SetSoluce4 (bool soluce4)
 
bool GetSoluce4 ()
 
void SetMovies (bool movies)
 
bool GetMovies ()
 
void SetFocusLostPause (bool focusLostPause)
 
bool GetFocusLostPause ()
 
void SetLanguage (Language language)
 
Language GetLanguage ()
 
void SetFontSize (float size)
 Managing the size of the default fonts. More...
 
float GetFontSize ()
 Managing the size of the default fonts. More...
 
void SetWindowPos (Math::Point pos)
 Managing the size of the default window. More...
 
Math::Point GetWindowPos ()
 Managing the size of the default window. More...
 
void SetWindowDim (Math::Point dim)
 Managing the size of the default window. More...
 
Math::Point GetWindowDim ()
 Managing the size of the default window. More...
 
void SetWindowMax (bool max)
 Managing the size of the default window. More...
 
bool GetWindowMax ()
 Managing the size of the default window. More...
 
void SetIOPublic (bool mode)
 Managing windows open/save. More...
 
bool GetIOPublic ()
 Managing windows open/save. More...
 
void SetIOPos (Math::Point pos)
 Managing windows open/save. More...
 
Math::Point GetIOPos ()
 Managing windows open/save. More...
 
void SetIODim (Math::Point dim)
 Managing windows open/save. More...
 
Math::Point GetIODim ()
 Managing windows open/save. More...
 

Protected Attributes

bool m_tooltips
 
bool m_interfaceGlint
 
bool m_interfaceRain
 
bool m_soluce4
 
bool m_movies
 
bool m_focusLostPause
 
float m_fontSize
 
Math::Point m_windowPos
 
Math::Point m_windowDim
 
bool m_windowMax
 
bool m_IOPublic
 
Math::Point m_IOPos
 
Math::Point m_IODim
 
Language m_language
 

Additional Inherited Members

- Static Public Member Functions inherited from CSingleton< CSettings >
static CSettingsGetInstance ()
 
static CSettingsGetInstancePointer ()
 
static bool IsCreated ()
 
- Static Protected Attributes inherited from CSingleton< CSettings >
static CSettingsm_instance
 

Member Function Documentation

◆ SetFontSize()

void CSettings::SetFontSize ( float  size)

Managing the size of the default fonts.

◆ GetFontSize()

float CSettings::GetFontSize ( )

Managing the size of the default fonts.

◆ SetWindowPos()

void CSettings::SetWindowPos ( Math::Point  pos)

Managing the size of the default window.

◆ GetWindowPos()

Math::Point CSettings::GetWindowPos ( )

Managing the size of the default window.

◆ SetWindowDim()

void CSettings::SetWindowDim ( Math::Point  dim)

Managing the size of the default window.

◆ GetWindowDim()

Math::Point CSettings::GetWindowDim ( )

Managing the size of the default window.

◆ SetWindowMax()

void CSettings::SetWindowMax ( bool  max)

Managing the size of the default window.

◆ GetWindowMax()

bool CSettings::GetWindowMax ( )

Managing the size of the default window.

◆ SetIOPublic()

void CSettings::SetIOPublic ( bool  mode)

Managing windows open/save.

◆ GetIOPublic()

bool CSettings::GetIOPublic ( )

Managing windows open/save.

◆ SetIOPos()

void CSettings::SetIOPos ( Math::Point  pos)

Managing windows open/save.

◆ GetIOPos()

Math::Point CSettings::GetIOPos ( )

Managing windows open/save.

◆ SetIODim()

void CSettings::SetIODim ( Math::Point  dim)

Managing windows open/save.

◆ GetIODim()

Math::Point CSettings::GetIODim ( )

Managing windows open/save.


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