DisplayDevice Class Reference#include <platformVideo.h>
Inheritance diagram for DisplayDevice:
[legend]
|
Public Member Functions |
| DisplayDevice () |
virtual void | initDevice ()=0 |
virtual bool | activate (U32 width, U32 height, U32 bpp, bool fullScreen)=0 |
virtual void | shutdown ()=0 |
virtual bool | setScreenMode (U32 width, U32 height, U32 bpp, bool fullScreen, bool forceIt=false, bool repaint=true)=0 |
virtual bool | setResolution (U32 width, U32 height, U32 bpp) |
virtual bool | toggleFullScreen () |
virtual void | swapBuffers ()=0 |
virtual const char * | getDriverInfo ()=0 |
virtual bool | getGammaCorrection (F32 &g)=0 |
virtual bool | setGammaCorrection (F32 g)=0 |
virtual bool | setVerticalSync (bool on)=0 |
bool | prevRes () |
bool | nextRes () |
const char * | getResolutionList () |
bool | isFullScreenOnly () |
Static Public Member Functions |
static void | init () |
static Resolution | getResolution () |
static bool | isFullScreen () |
Data Fields |
const char * | mDeviceName |
Protected Attributes |
Vector< Resolution > | mResolutionList |
bool | mFullScreenOnly |
Static Protected Attributes |
static Resolution | smCurrentRes |
static bool | smIsFullScreen |
Constructor & Destructor Documentation
DisplayDevice::DisplayDevice |
( |
|
) |
|
Member Function Documentation
virtual void DisplayDevice::initDevice |
( |
|
) |
[pure virtual] |
virtual bool DisplayDevice::activate |
( |
U32 |
width, |
|
|
U32 |
height, |
|
|
U32 |
bpp, |
|
|
bool |
fullScreen | |
|
) |
| | [pure virtual] |
virtual void DisplayDevice::shutdown |
( |
|
) |
[pure virtual] |
virtual bool DisplayDevice::setScreenMode |
( |
U32 |
width, |
|
|
U32 |
height, |
|
|
U32 |
bpp, |
|
|
bool |
fullScreen, |
|
|
bool |
forceIt = false , |
|
|
bool |
repaint = true | |
|
) |
| | [pure virtual] |
bool DisplayDevice::setResolution |
( |
U32 |
width, |
|
|
U32 |
height, |
|
|
U32 |
bpp | |
|
) |
| | [inline, virtual] |
bool DisplayDevice::toggleFullScreen |
( |
|
) |
[inline, virtual] |
virtual void DisplayDevice::swapBuffers |
( |
|
) |
[pure virtual] |
virtual const char* DisplayDevice::getDriverInfo |
( |
|
) |
[pure virtual] |
virtual bool DisplayDevice::getGammaCorrection |
( |
F32 & |
g |
) |
[pure virtual] |
virtual bool DisplayDevice::setGammaCorrection |
( |
F32 |
g |
) |
[pure virtual] |
virtual bool DisplayDevice::setVerticalSync |
( |
bool |
on |
) |
[pure virtual] |
bool DisplayDevice::prevRes |
( |
|
) |
|
bool DisplayDevice::nextRes |
( |
|
) |
|
const char* DisplayDevice::getResolutionList |
( |
|
) |
|
bool DisplayDevice::isFullScreenOnly |
( |
|
) |
[inline] |
static void DisplayDevice::init |
( |
|
) |
[static] |
Resolution DisplayDevice::getResolution |
( |
|
) |
[inline, static] |
bool DisplayDevice::isFullScreen |
( |
|
) |
[inline, static] |
Field Documentation
|