Archon::Utilities::Window Class Reference

Collaboration diagram for Archon::Utilities::Window:

Collaboration graph
[legend]
List of all members.

Public Types

enum  DrawMode { set, add, sub }

Public Member Functions

 Window (unsigned width, unsigned height, unsigned bitsPerPixel=24, bool fullScreen=false, bool openGlSupport=false, KeyboardHandler *=0, MouseHandler *=0, WindowHandler *=0)
 Arguments 'width', 'height', 'bitsPerPixel', 'fullScreen' are treated as desired values.
 ~Window ()
Ref< MouseCursornewMouseCursor (const char *image[])
void setMouseCursor (Ref< MouseCursor >)
void setDefaultMouseCursor ()
void showMouseCursor ()
void hideMouseCursor ()
int getMouseX () const
int getMouseY () const
void swapBuffers ()
void discardEventQueue ()
void executeEventQueue (unsigned long milliSecondTime)
unsigned getWidth () const
unsigned getHeight () const
void setDrawMode (DrawMode mode)
void setColor (unsigned red, unsigned green, unsigned blue, unsigned alpha=255)

Classes

struct  KeyboardHandler
class  MouseCursor
struct  MouseHandler
struct  Update
struct  WindowHandler

Detailed Description

Definition at line 35 of file window.H.


Constructor & Destructor Documentation

Archon::Utilities::Window::Window unsigned  width,
unsigned  height,
unsigned  bitsPerPixel = 24,
bool  fullScreen = false,
bool  openGlSupport = false,
KeyboardHandler = 0,
MouseHandler = 0,
WindowHandler = 0
 

Arguments 'width', 'height', 'bitsPerPixel', 'fullScreen' are treated as desired values.

What you get might be different.

Pass 0 in place of a handler if you do not want to react on that kind of events.

Definition at line 85 of file window.C.

References executeEventQueue().


The documentation for this class was generated from the following files:
Generated on Sun Jul 30 22:58:03 2006 for Archon by  doxygen 1.4.4