|
bool | Load (const TiXmlNode *settings) override |
| Load settings from the given XML node. More...
|
|
bool | Save (TiXmlNode *settings) const override |
| Save settings to the given XML node. More...
|
|
void | Clear () override |
| Clear any loaded setting values.
|
|
void | OnSettingAction (const std::shared_ptr< const CSetting > &setting) override |
| The given setting has been activated. More...
|
|
bool | OnSettingChanging (const std::shared_ptr< const CSetting > &setting) override |
| The value of the given setting is being changed. More...
|
|
bool | OnSettingUpdate (const std::shared_ptr< CSetting > &setting, const char *oldSettingId, const TiXmlNode *oldSettingNode) override |
| The given setting needs to be updated. More...
|
|
void | OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override |
| The value of the given setting has changed. More...
|
|
RESOLUTION | GetCurrentResolution () const |
| Returns the currently active resolution. More...
|
|
void | SetCurrentResolution (RESOLUTION resolution, bool save=false) |
|
RESOLUTION | GetDisplayResolution () const |
| Returns the best-matching resolution of the videoscreen.screenmode setting value. More...
|
|
const RESOLUTION_INFO & | GetResolutionInfo (size_t index) const |
|
const RESOLUTION_INFO & | GetResolutionInfo (RESOLUTION resolution) const |
|
RESOLUTION_INFO & | GetResolutionInfo (size_t index) |
|
RESOLUTION_INFO & | GetResolutionInfo (RESOLUTION resolution) |
|
size_t | ResolutionInfoSize () const |
|
void | AddResolutionInfo (const RESOLUTION_INFO &resolution) |
|
const RESOLUTION_INFO & | GetCurrentResolutionInfo () const |
|
RESOLUTION_INFO & | GetCurrentResolutionInfo () |
|
RESOLUTION | GetResFromString (const std::string &strResolution) |
|
std::string | GetStringFromRes (const RESOLUTION resolution, float refreshrate=0.0f) |
|
void | ApplyCalibrations () |
|
void | UpdateCalibrations () |
|
void | ClearCalibrations () |
|
void | ClearCustomResolutions () |
|
float | GetZoomAmount () const |
|
void | SetZoomAmount (float zoomAmount) |
|
float | GetPixelRatio () const |
|
void | SetPixelRatio (float pixelRatio) |
|
float | GetVerticalShift () const |
|
void | SetVerticalShift (float verticalShift) |
|
bool | IsNonLinearStretched () const |
|
void | SetNonLinearStretched (bool nonLinearStretch) |
|
void | SetMonitor (const std::string &monitor) |
|
virtual void | OnSettingPropertyChanged (const std::shared_ptr< const CSetting > &setting, const char *propertyName) |
| The given property of the given setting has changed. More...
|
|
virtual Observable & | operator= (const Observable &observable) |
|
virtual void | RegisterObserver (Observer *obs) |
| Register an observer. More...
|
|
virtual void | UnregisterObserver (Observer *obs) |
| Unregister an observer. More...
|
|
virtual void | NotifyObservers (const ObservableMessage message=ObservableMessageNone) |
| Send a message to all observers when m_bObservableChanged is true. More...
|
|
virtual void | SetChanged (bool bSetTo=true) |
| Mark an observable changed. More...
|
|
virtual bool | IsObserving (const Observer &obs) const |
| Check whether this observable is being observed by an observer. More...
|
|
|
static CDisplaySettings & | GetInstance () |
|
static void | SettingOptionsModesFiller (const std::shared_ptr< const CSetting > &setting, std::vector< StringSettingOption > &list, std::string ¤t, void *data) |
|
static void | SettingOptionsRefreshChangeDelaysFiller (const std::shared_ptr< const CSetting > &setting, std::vector< IntegerSettingOption > &list, int ¤t, void *data) |
|
static void | SettingOptionsRefreshRatesFiller (const std::shared_ptr< const CSetting > &setting, std::vector< StringSettingOption > &list, std::string ¤t, void *data) |
|
static void | SettingOptionsResolutionsFiller (const std::shared_ptr< const CSetting > &setting, std::vector< IntegerSettingOption > &list, int ¤t, void *data) |
|
static void | SettingOptionsDispModeFiller (const std::shared_ptr< const CSetting > &setting, std::vector< IntegerSettingOption > &list, int ¤t, void *data) |
|
static void | SettingOptionsStereoscopicModesFiller (const std::shared_ptr< const CSetting > &setting, std::vector< IntegerSettingOption > &list, int ¤t, void *data) |
|
static void | SettingOptionsPreferredStereoscopicViewModesFiller (const std::shared_ptr< const CSetting > &setting, std::vector< IntegerSettingOption > &list, int ¤t, void *data) |
|
static void | SettingOptionsMonitorsFiller (const std::shared_ptr< const CSetting > &setting, std::vector< StringSettingOption > &list, std::string ¤t, void *data) |
|
static void | SettingOptionsCmsModesFiller (const std::shared_ptr< const CSetting > &setting, std::vector< IntegerSettingOption > &list, int ¤t, void *data) |
|
static void | SettingOptionsCmsWhitepointsFiller (const std::shared_ptr< const CSetting > &setting, std::vector< IntegerSettingOption > &list, int ¤t, void *data) |
|
static void | SettingOptionsCmsPrimariesFiller (const std::shared_ptr< const CSetting > &setting, std::vector< IntegerSettingOption > &list, int ¤t, void *data) |
|
static void | SettingOptionsCmsGammaModesFiller (const std::shared_ptr< const CSetting > &setting, std::vector< IntegerSettingOption > &list, int ¤t, void *data) |
|