Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

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 Member Functions

bool 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 Sun Sep 25 16:25:50 2005 for Kyra by  doxygen 1.4.3