Main Page   Class Hierarchy   Compound List   File List   Compound Members  

KrEventManager Class Reference

Manages widgets -- if you use widgets, you need one of these! All SDL keyboard and mouse events should be sent to the widget system via the KrEventManager::HandleEvent method. More...

#include <eventmanager.h>

List of all members.

Public Methods

void HandleEvent (const SDL_Event &event, KrEngine *engine)
 Dispenses events to the widgets.

void SetAccelerator (int keymod, int keysym, KrWidget *)
 Alternate call to set a widget accelerator. Usually easier to call the method on the widget itself.


Detailed Description

Manages widgets -- if you use widgets, you need one of these! All SDL keyboard and mouse events should be sent to the widget system via the KrEventManager::HandleEvent method.

The EventManager will set SDL_EnableUNICODE to true when it is created.


The documentation for this class was generated from the following file:
Generated on Mon Sep 15 12:01:11 2003 for Kyra by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001