Blender V2.61 - r43446
|
#include <GHOST_DisplayManagerSDL.h>
Public Member Functions | |
GHOST_DisplayManagerSDL (GHOST_SystemSDL *system) | |
GHOST_TSuccess | getNumDisplays (GHOST_TUns8 &numDisplays) const |
GHOST_TSuccess | getNumDisplaySettings (GHOST_TUns8 display, GHOST_TInt32 &numSettings) const |
GHOST_TSuccess | getDisplaySetting (GHOST_TUns8 display, GHOST_TInt32 index, GHOST_DisplaySetting &setting) const |
GHOST_TSuccess | getCurrentDisplaySetting (GHOST_TUns8 display, GHOST_DisplaySetting &setting) const |
GHOST_TSuccess | setCurrentDisplaySetting (GHOST_TUns8 display, const GHOST_DisplaySetting &setting) |
Definition at line 43 of file GHOST_DisplayManagerSDL.h.
GHOST_DisplayManagerSDL::GHOST_DisplayManagerSDL | ( | GHOST_SystemSDL * | system | ) |
Definition at line 35 of file GHOST_DisplayManagerSDL.cpp.
GHOST_TSuccess GHOST_DisplayManagerSDL::getCurrentDisplaySetting | ( | GHOST_TUns8 | display, |
GHOST_DisplaySetting & | setting | ||
) | const [virtual] |
Returns the current setting for this display device.
display | The index of the display to query with 0 <= display < getNumDisplays(). |
setting | The current setting of the display device with this index. |
Reimplemented from GHOST_DisplayManager.
Definition at line 113 of file GHOST_DisplayManagerSDL.cpp.
References GHOST_DisplaySetting::bpp, GHOST_DisplaySetting::frequency, GHOST_kSuccess, NULL, GHOST_DisplaySetting::xPixels, and GHOST_DisplaySetting::yPixels.
GHOST_TSuccess GHOST_DisplayManagerSDL::getDisplaySetting | ( | GHOST_TUns8 | display, |
GHOST_TInt32 | index, | ||
GHOST_DisplaySetting & | setting | ||
) | const [virtual] |
Returns the current setting for this display device.
display | The index of the display to query with 0 <= display < getNumDisplays(). |
index | The setting index to be returned. |
setting | The setting of the display device with this index. |
Reimplemented from GHOST_DisplayManager.
Definition at line 72 of file GHOST_DisplayManagerSDL.cpp.
References GHOST_DisplaySetting::bpp, GHOST_DisplaySetting::frequency, GHOST_ASSERT, GHOST_kFailure, GHOST_kSuccess, i, NULL, GHOST_DisplaySetting::xPixels, and GHOST_DisplaySetting::yPixels.
GHOST_TSuccess GHOST_DisplayManagerSDL::getNumDisplays | ( | GHOST_TUns8 & | numDisplays | ) | const [virtual] |
Returns the number of display devices on this system.
numDisplays | The number of displays on this system. |
Reimplemented from GHOST_DisplayManager.
Definition at line 44 of file GHOST_DisplayManagerSDL.cpp.
References GHOST_kSuccess.
GHOST_TSuccess GHOST_DisplayManagerSDL::getNumDisplaySettings | ( | GHOST_TUns8 | display, |
GHOST_TInt32 & | numSettings | ||
) | const [virtual] |
Returns the number of display settings for this display device.
display | The index of the display to query with 0 <= display < getNumDisplays(). |
numSettings | The number of settings of the display device with this index. |
Reimplemented from GHOST_DisplayManager.
Definition at line 51 of file GHOST_DisplayManagerSDL.cpp.
References GHOST_ASSERT, GHOST_kFailure, GHOST_kSuccess, i, and NULL.
GHOST_TSuccess GHOST_DisplayManagerSDL::setCurrentDisplaySetting | ( | GHOST_TUns8 | display, |
const GHOST_DisplaySetting & | setting | ||
) | [virtual] |
Changes the current setting for this display device. The setting given to this method is matched againts the available diplay settings. The best match is activated (
display | The index of the display to query with 0 <= display < getNumDisplays(). |
setting | The setting of the display device to be matched and activated. |
Reimplemented from GHOST_DisplayManager.
Definition at line 145 of file GHOST_DisplayManagerSDL.cpp.
References GHOST_DisplaySetting::bpp, GHOST_kFailure, GHOST_kSuccess, i, NULL, GHOST_DisplaySetting::xPixels, and GHOST_DisplaySetting::yPixels.