44
44
* Manages system displays (WIN32 implementation).
45
* @author Maarten Gribnau
46
* @date September 21, 2001
45
* \author Maarten Gribnau
46
* \date September 21, 2001
48
48
class GHOST_DisplayManagerWin32 : public GHOST_DisplayManager
57
57
* Returns the number of display devices on this system.
58
* @param numDisplays The number of displays on this system.
59
* @return Indication of success.
58
* \param numDisplays The number of displays on this system.
59
* \return Indication of success.
61
61
virtual GHOST_TSuccess getNumDisplays(GHOST_TUns8& numDisplays) const;
64
64
* Returns the number of display settings for this display device.
65
* @param display The index of the display to query with 0 <= display < getNumDisplays().
66
* @param setting The number of settings of the display device with this index.
67
* @return Indication of success.
65
* \param display The index of the display to query with 0 <= display < getNumDisplays().
66
* \param setting The number of settings of the display device with this index.
67
* \return Indication of success.
69
69
virtual GHOST_TSuccess getNumDisplaySettings(GHOST_TUns8 display, GHOST_TInt32& numSettings) const;
72
72
* Returns the current setting for this display device.
73
* @param display The index of the display to query with 0 <= display < getNumDisplays().
74
* @param index The setting index to be returned.
75
* @param setting The setting of the display device with this index.
76
* @return Indication of success.
73
* \param display The index of the display to query with 0 <= display < getNumDisplays().
74
* \param index The setting index to be returned.
75
* \param setting The setting of the display device with this index.
76
* \return Indication of success.
78
78
virtual GHOST_TSuccess getDisplaySetting(GHOST_TUns8 display, GHOST_TInt32 index, GHOST_DisplaySetting& setting) const;
81
81
* Returns the current setting for this display device.
82
* @param display The index of the display to query with 0 <= display < getNumDisplays().
83
* @param setting The current setting of the display device with this index.
84
* @return Indication of success.
82
* \param display The index of the display to query with 0 <= display < getNumDisplays().
83
* \param setting The current setting of the display device with this index.
84
* \return Indication of success.
86
86
virtual GHOST_TSuccess getCurrentDisplaySetting(GHOST_TUns8 display, GHOST_DisplaySetting& setting) const;
89
89
* Changes the current setting for this display device.
90
* @param display The index of the display to query with 0 <= display < getNumDisplays().
91
* @param setting The current setting of the display device with this index.
92
* @return Indication of success.
90
* \param display The index of the display to query with 0 <= display < getNumDisplays().
91
* \param setting The current setting of the display device with this index.
92
* \return Indication of success.
94
94
virtual GHOST_TSuccess setCurrentDisplaySetting(GHOST_TUns8 display, const GHOST_DisplaySetting& setting);