Play 'round
Public Types | Public Member Functions | Static Public Member Functions
Engine Class Reference

The root class that handles all the user interaction and graphical interface rendering. More...

#include <Engine.h>

Inheritance diagram for Engine:
Widget Shape

List of all members.

Public Types

enum  TextMode { TEXT_REPLACE, TEXT_APPEND }
 The text input behavior when the user strokes the keyboard.

Public Member Functions

bool onKeyDown (unsigned char key, float x, float y)
virtual void draw ()
virtual bool handleDraw (float x, float y)
 The draw event called when the user drags from this widget.
virtual bool handleDrawEnd (float x, float y)
 The last draw event called when the user finishes dragging.
void setSelectedWidget (Widget *widget)
void setMouseCursorPosition (float, float)
void setSize (int, int)
void setCursorText (std::string text)
void setTextMode (TextMode mode)
TextMode getTextMode ()

Static Public Member Functions

static SoundSourceMap * getSoundSources ()

Detailed Description

The root class that handles all the user interaction and graphical interface rendering.


The documentation for this class was generated from the following files:
 All Classes Functions Enumerations