Faith::Event Class Reference

An abstract object to distribute user events to objects. More...

#include <faith/event.h>

Inheritance diagram for Faith::Event:

Faith::CloseEvent Faith::FocusEvent Faith::KeyPressEvent Faith::MouseEvent Faith::MoveEvent Faith::PaintEvent Faith::ResizeEvent Faith::TimerEvent List of all members.

Public Types

 EventTimer
 EventMouseButtonPress
 EventMouseButtonRelease
 EventMouseMove
 EventPaint
 EventKeyPress
 EventKeyRelease
 EventFocusIn
 EventFocusOut
 EventEnter
 EventLeave
 EventClose
 EventResize
 EventMove
 EventShow
 EventHide
 EventCreate
 EventDelete
 EventLayout
 EventUser = 4096
 eventType_BC = 0xffffffff
enum  EventType {
  EventTimer, EventMouseButtonPress, EventMouseButtonRelease, EventMouseMove,
  EventPaint, EventKeyPress, EventKeyRelease, EventFocusIn,
  EventFocusOut, EventEnter, EventLeave, EventClose,
  EventResize, EventMove, EventShow, EventHide,
  EventCreate, EventDelete, EventLayout, EventUser = 4096,
  eventType_BC = 0xffffffff
}

Public Member Functions

 Event (EventType type)
virtual ~Event ()
EventType type () const

Detailed Description

An abstract object to distribute user events to objects.


Member Enumeration Documentation

enum Faith::Event::EventType

Enumerator:
EventTimer 
EventMouseButtonPress 
EventMouseButtonRelease 
EventMouseMove 
EventPaint 
EventKeyPress 
EventKeyRelease 
EventFocusIn 
EventFocusOut 
EventEnter 
EventLeave 
EventClose 
EventResize 
EventMove 
EventShow 
EventHide 
EventCreate 
EventDelete 
EventLayout 
EventUser 
eventType_BC 


Constructor & Destructor Documentation

Faith::Event::Event ( EventType  type  )  [inline]

virtual Faith::Event::~Event (  )  [inline, virtual]


Member Function Documentation

EventType Faith::Event::type (  )  const [inline]

Returns:
the type of this event (so you know what you can static_cast it to


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 00:23:08 2006 for Faith by  doxygen 1.4.7