Gel2D - The free/open source game creation suite

Public Member Functions
gel::GelEventReceiver Class Reference

Event receiver. More...

#include <gelEvent.h>

Inheritance diagram for gel::GelEventReceiver:
gel::GelAppBase gel::GelGameState gel::GelObject gel::GelArmature gel::GelCamera gel::GelGUIWidget gel::GelLine gel::GelParticleSys gel::GelSprite gel::GelText gel::GelGUIButton gel::GelGUICheckBox gel::GelGUIText gel::GelAnimSprite

List of all members.

Public Member Functions

 GelEventReceiver ()
 Constructor.
virtual ~GelEventReceiver ()
 Destructor.
virtual bool onEvent (GelEvent *event)
virtual void mousePressEvent (GelMouseEvent *event)
virtual void mouseReleaseEvent (GelMouseEvent *event)
virtual void mouseDblClkEvent (GelMouseEvent *event)
virtual void mouseWheelEvent (GelMouseEvent *event)
virtual void mouseMoveEvent (GelMouseEvent *event)
virtual void keyPressEvent (GelKeyEvent *event)
virtual void keyReleaseEvent (GelKeyEvent *event)
virtual void resizeEvent (GelResizeEvent *event)
virtual void closeEvent (GelEvent *event)
virtual void otherEvent (GelEvent *event)

Detailed Description

Event receiver.

This class provides an abstraction for objects to receive events.


Constructor & Destructor Documentation

gel::GelEventReceiver::GelEventReceiver ( )

Constructor.

This will add itself to the event dispatcher.

virtual gel::GelEventReceiver::~GelEventReceiver ( ) [virtual]

Destructor.

This will remove itself from the event dispatcher.


Member Function Documentation

virtual bool gel::GelEventReceiver::onEvent ( GelEvent event) [virtual]
virtual void gel::GelEventReceiver::mousePressEvent ( GelMouseEvent event) [inline, virtual]
virtual void gel::GelEventReceiver::mouseReleaseEvent ( GelMouseEvent event) [inline, virtual]
virtual void gel::GelEventReceiver::mouseDblClkEvent ( GelMouseEvent event) [inline, virtual]
virtual void gel::GelEventReceiver::mouseWheelEvent ( GelMouseEvent event) [inline, virtual]
virtual void gel::GelEventReceiver::mouseMoveEvent ( GelMouseEvent event) [inline, virtual]
virtual void gel::GelEventReceiver::keyPressEvent ( GelKeyEvent event) [inline, virtual]
virtual void gel::GelEventReceiver::keyReleaseEvent ( GelKeyEvent event) [inline, virtual]
virtual void gel::GelEventReceiver::resizeEvent ( GelResizeEvent event) [inline, virtual]
virtual void gel::GelEventReceiver::closeEvent ( GelEvent event) [inline, virtual]
virtual void gel::GelEventReceiver::otherEvent ( GelEvent event) [inline, virtual]

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