Public Types | |
enum | { ACTIVE_DESKTOP = 9999 } |
Public Member Functions | |
Desktop (int nDesktop=ACTIVE_DESKTOP) | |
~Desktop () | |
int | GetDesktop () const |
Return the desktop number. | |
screen_mode | GetScreenMode () const |
IPoint | GetResolution () const |
color_space | GetColorSpace () const |
void * | GetFrameBuffer () |
bool | SetScreenMode (screen_mode *psMode) |
bool | SetResolution (int nWidth, int nHeight) |
bool | SetColorSpace (color_space eColorSpace) |
bool | SetRefreshRate (float vRefreshRate) |
bool | Activate () const |
int | MinimizeAll () const |
Minimizes all windows on the desktop(besides the dock and the desktop). | |
Classes | |
class | Private |
Desktop::Desktop | ( | int | nDesktop = ACTIVE_DESKTOP |
) |
Desktop::~Desktop | ( | ) |
int Desktop::GetDesktop | ( | ) | const |
screen_mode Desktop::GetScreenMode | ( | ) | const |
IPoint Desktop::GetResolution | ( | ) | const |
color_space Desktop::GetColorSpace | ( | ) | const |
void * Desktop::GetFrameBuffer | ( | ) |
bool Desktop::SetScreenMode | ( | screen_mode * | psMode | ) |
bool Desktop::SetResolution | ( | int | nWidth, | |
int | nHeight | |||
) |
bool Desktop::SetColorSpace | ( | color_space | eColorSpace | ) |
bool Desktop::SetRefreshRate | ( | float | vRefreshRate | ) |
bool Desktop::Activate | ( | ) | const |
int Desktop::MinimizeAll | ( | ) | const |
\return | Number of windows minimized |