Desktop Class Reference

#include <Desktop.h>

Inheritance diagram for Desktop:

Window

List of all members.


Public Member Functions

 Desktop ()
 (*** add brief description here ***)
virtual ~Desktop ()
 (*** add brief description here ***)
virtual void Invalidate (Rect rect)
 (*** add brief description here ***)
virtual void Invalidate ()
 (*** add brief description here ***)
virtual void Update (Rect rect)
 (*** add brief description here ***)
virtual void Update ()
 (*** add brief description here ***)
void ToggleDirtyDebug ()
 (*** add brief description here ***)
void HideCursor ()
 (*** add brief description here ***)
void ShowCursor ()
 (*** add brief description here ***)
void SetCursorPosition (Point point)
 (*** add brief description here ***)
virtual WindowFindWindow (Point point)
 (*** add brief description here ***)
void SetFocus (Window *pWindow)
 (*** add brief description here ***)
virtual void OnMouseButtonDown (SDL_MouseButtonEvent sdlEvent)
 (*** add brief description here ***)
virtual void OnMouseButtonUp (SDL_MouseButtonEvent sdlEvent)
 (*** add brief description here ***)
virtual void OnKeyDown (SDL_KeyboardEvent sdlEvent)
 (*** add brief description here ***)
virtual void OnKeyUp (SDL_KeyboardEvent sdlEvent)
 (*** add brief description here ***)

Private Attributes

Rect m_DirtyRects [DESKTOP_MAXDIRTY]
 (*** add brief description here ***)
int m_DirtyCount
 (*** add brief description here ***)
bool m_DirtyDebug
 (*** add brief description here ***)
Cursor m_Cursor
 (*** add brief description here ***)
Windowm_pFocus
 (*** add brief description here ***)

Static Private Attributes

static const int DESKTOP_MAXDIRTY = 200
 (*** add brief description here ***)

Detailed Description

(*** add brief description here ***)
Full Description
(*** add full description here ***)

Constructor & Destructor Documentation

Desktop (  ) 

(*** add brief description here ***)

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)

~Desktop (  )  [virtual]

(*** add brief description here ***)

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)


Member Function Documentation

void Invalidate ( Rect  rect  )  [virtual]

(*** add brief description here ***)

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)

Reimplemented from Window.

void Invalidate (  )  [virtual]

(*** add brief description here ***)

Reimplemented from Window.

void Update ( Rect  rect  )  [virtual]

(*** add brief description here ***)

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)

Reimplemented from Window.

void Update (  )  [virtual]

(*** add brief description here ***)

void ToggleDirtyDebug (  ) 

(*** add brief description here ***)

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)

void HideCursor (  ) 

(*** add brief description here ***)

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)

void ShowCursor (  ) 

(*** add brief description here ***)

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)

void SetCursorPosition ( Point  point  ) 

(*** add brief description here ***)

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)

Window * FindWindow ( Point  point  )  [virtual]

(*** add brief description here ***)

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)

Reimplemented from Window.

void SetFocus ( Window pWindow  )  [inline]

(*** add brief description here ***)

void OnMouseButtonDown ( SDL_MouseButtonEvent  sdlEvent  )  [virtual]

(*** add brief description here ***)

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)

Reimplemented from Window.

void OnMouseButtonUp ( SDL_MouseButtonEvent  sdlEvent  )  [virtual]

(*** add brief description here ***)

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)

Reimplemented from Window.

void OnKeyDown ( SDL_KeyboardEvent  sdlEvent  )  [virtual]

(*** add brief description here ***)

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)

Reimplemented from Window.

void OnKeyUp ( SDL_KeyboardEvent  sdlEvent  )  [virtual]

(*** add brief description here ***)

Full Description
(*** add full description here ***)
Returns:
(*** add return description here ***)

Reimplemented from Window.


Member Data Documentation

const int DESKTOP_MAXDIRTY = 200 [static, private]

(*** add brief description here ***)

(*** add brief description here ***)

int m_DirtyCount [private]

(*** add brief description here ***)

bool m_DirtyDebug [private]

(*** add brief description here ***)

Cursor m_Cursor [private]

(*** add brief description here ***)

Window* m_pFocus [private]

(*** add brief description here ***)


The documentation for this class was generated from the following files: