Blender V4.3
GHOST_DisplayManagerNULL Class Reference

#include <GHOST_DisplayManagerNULL.hh>

Inherits GHOST_DisplayManager.

Public Member Functions

 GHOST_DisplayManagerNULL ()
 
GHOST_TSuccess getNumDisplays (uint8_t &) const override
 
GHOST_TSuccess getNumDisplaySettings (uint8_t, int32_t &) const override
 
GHOST_TSuccess getDisplaySetting (uint8_t, int32_t, GHOST_DisplaySetting &) const override
 
GHOST_TSuccess getCurrentDisplaySetting (uint8_t display, GHOST_DisplaySetting &setting) const override
 
GHOST_TSuccess setCurrentDisplaySetting (uint8_t, const GHOST_DisplaySetting &) override
 
- Public Member Functions inherited from GHOST_DisplayManager
 GHOST_DisplayManager ()
 
virtual ~GHOST_DisplayManager ()
 
virtual GHOST_TSuccess initialize ()
 

Additional Inherited Members

- Public Types inherited from GHOST_DisplayManager
enum  { kMainDisplay = 0 }
 
- Protected Types inherited from GHOST_DisplayManager
typedef std::vector< GHOST_DisplaySettingGHOST_DisplaySettings
 
- Protected Member Functions inherited from GHOST_DisplayManager
GHOST_TSuccess findMatch (uint8_t display, const GHOST_DisplaySetting &setting, GHOST_DisplaySetting &match) const
 
GHOST_TSuccess initializeSettings ()
 
- Protected Attributes inherited from GHOST_DisplayManager
bool m_settingsInitialized
 
std::vector< GHOST_DisplaySettingsm_settings
 

Detailed Description

Definition at line 17 of file GHOST_DisplayManagerNULL.hh.

Constructor & Destructor Documentation

◆ GHOST_DisplayManagerNULL()

GHOST_DisplayManagerNULL::GHOST_DisplayManagerNULL ( )
inline

Definition at line 19 of file GHOST_DisplayManagerNULL.hh.

Member Function Documentation

◆ getCurrentDisplaySetting()

GHOST_TSuccess GHOST_DisplayManagerNULL::getCurrentDisplaySetting ( uint8_t display,
GHOST_DisplaySetting & setting ) const
inlineoverridevirtual

Returns the current setting for this display device.

Parameters
displayThe index of the display to query with 0 <= display < getNumDisplays().
settingThe current setting of the display device with this index.
Returns
Indication of success.

Reimplemented from GHOST_DisplayManager.

Definition at line 37 of file GHOST_DisplayManagerNULL.hh.

References getDisplaySetting().

◆ getDisplaySetting()

GHOST_TSuccess GHOST_DisplayManagerNULL::getDisplaySetting ( uint8_t display,
int32_t index,
GHOST_DisplaySetting & setting ) const
inlineoverridevirtual

Returns the current setting for this display device.

Parameters
displayThe index of the display to query with 0 <= display < getNumDisplays().
indexThe setting index to be returned.
settingThe setting of the display device with this index.
Returns
Indication of success.

Reimplemented from GHOST_DisplayManager.

Definition at line 31 of file GHOST_DisplayManagerNULL.hh.

References GHOST_kFailure.

Referenced by getCurrentDisplaySetting().

◆ getNumDisplays()

GHOST_TSuccess GHOST_DisplayManagerNULL::getNumDisplays ( uint8_t & numDisplays) const
inlineoverridevirtual

Returns the number of display devices on this system.

Parameters
numDisplaysThe number of displays on this system.
Returns
Indication of success.

Reimplemented from GHOST_DisplayManager.

Definition at line 22 of file GHOST_DisplayManagerNULL.hh.

References GHOST_kFailure.

◆ getNumDisplaySettings()

GHOST_TSuccess GHOST_DisplayManagerNULL::getNumDisplaySettings ( uint8_t display,
int32_t & numSettings ) const
inlineoverridevirtual

Returns the number of display settings for this display device.

Parameters
displayThe index of the display to query with 0 <= display < getNumDisplays().
numSettingsThe number of settings of the display device with this index.
Returns
Indication of success.

Reimplemented from GHOST_DisplayManager.

Definition at line 26 of file GHOST_DisplayManagerNULL.hh.

References GHOST_kFailure.

◆ setCurrentDisplaySetting()

GHOST_TSuccess GHOST_DisplayManagerNULL::setCurrentDisplaySetting ( uint8_t display,
const GHOST_DisplaySetting & setting )
inlineoverridevirtual

Changes the current setting for this display device. The setting given to this method is matched against the available display settings. The best match is activated (

See also
findMatch()).
Parameters
displayThe index of the display to query with 0 <= display < getNumDisplays().
settingThe setting of the display device to be matched and activated.
Returns
Indication of success.

Reimplemented from GHOST_DisplayManager.

Definition at line 42 of file GHOST_DisplayManagerNULL.hh.

References GHOST_kSuccess.


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