Logo Search packages:      
Sourcecode: scummvm version File versions

Common::EventManager Class Reference

#include <events.h>

Inheritance diagram for Common::EventManager:

Common::NonCopyable

List of all members.


Detailed Description

The EventManager provides user input events to the client code. In addition, it keeps track of the state of various input devices, like keys, mouse position and buttons.

Definition at line 135 of file events.h.


Public Types

enum  { LBUTTON = 1 << 0, RBUTTON = 1 << 1 }

Public Member Functions

virtual int getButtonState () const =0
virtual int getModifierState () const =0
virtual Common::Point getMousePos () const =0
virtual void init ()
virtual bool pollEvent (Common::Event &event)=0
virtual void processMillis (uint32 &millis)=0
virtual void pushEvent (const Common::Event &event)=0
virtual void registerRandomSource (Common::RandomSource &rnd, const char *name)=0
virtual void resetRTL ()=0
virtual int shouldQuit () const =0
virtual int shouldRTL () const =0

Protected Attributes

Common::Queue< Common::EventartificialEventQueue

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

Generated by  Doxygen 1.6.0   Back to index