Pyro higlevel API
Classes | Public Types | Public Member Functions | List of all members
os::Desktop Class Reference

Classes

class  Private
 

Public Types

enum  { ACTIVE_DESKTOP = 9999 }
 

Public Member Functions

 Desktop (int nDesktop=ACTIVE_DESKTOP)
 
 ~Desktop ()
 
int GetDesktop () const
 Return the desktop number. More...
 
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) More...
 

Member Enumeration Documentation

anonymous enum
Enumerator
ACTIVE_DESKTOP 

Constructor & Destructor Documentation

Desktop::Desktop ( int  nDesktop = ACTIVE_DESKTOP)
Desktop::~Desktop ( )

Member Function Documentation

bool Desktop::Activate ( ) const
color_space Desktop::GetColorSpace ( ) const
int Desktop::GetDesktop ( ) const
Description:
Returns the number of the desktop this object is set to.
Returns
Desktop number.
Author
Arno Klenke (arno_.nosp@m.klen.nosp@m.ke@ya.nosp@m.hoo..nosp@m.de)

References os::Desktop::Private::m_nDesktop.

void * Desktop::GetFrameBuffer ( )
IPoint Desktop::GetResolution ( ) const
screen_mode Desktop::GetScreenMode ( ) const
int Desktop::MinimizeAll ( ) const
bool Desktop::SetColorSpace ( color_space  eColorSpace)
bool Desktop::SetRefreshRate ( float  vRefreshRate)
bool Desktop::SetResolution ( int  nWidth,
int  nHeight 
)
bool Desktop::SetScreenMode ( screen_mode psMode)