Osiris Framework  0.3
OMouseMoveEvent Class Reference
Inheritance diagram for OMouseMoveEvent:
OMemoryPoolEvent OEvent OMemoryPoolObject< OEVENT_MP_BLOCKSIZE, OEVENT_MP_SEGMENTSIZE >

Public Types

enum  MovementType { ActiveMove =1, PassiveMove =2 }
 
- Public Types inherited from OEvent
enum  EventType {
  KeyboardPressEvent =1000, KeyboardReleaseEvent, MouseClickEvent, MouseActiveMoveEvent,
  MousePassiveMoveEvent, ResizeEvent
}
 

Public Member Functions

 OMouseMoveEvent (MovementType type, int x, int y)
 Class constructor. More...
 
virtual ~OMouseMoveEvent ()
 Class destructor.
 
int x () const
 Window X-axis component in pixels.
 
int y () const
 Window Y-axis component in pixels.
 
- Public Member Functions inherited from OMemoryPoolEvent
 OMemoryPoolEvent (OEvent::EventType type)
 Class constructor. More...
 
virtual ~OMemoryPoolEvent ()
 Class destructor.
 
- Public Member Functions inherited from OEvent
 OEvent (EventType type)
 Class constructor. More...
 
virtual ~OEvent ()
 Class destructor.
 
EventType type () const
 Returns event type.
 
- Public Member Functions inherited from OMemoryPoolObject< OEVENT_MP_BLOCKSIZE, OEVENT_MP_SEGMENTSIZE >
 OMemoryPoolObject ()
 Class constructor.
 
virtual ~OMemoryPoolObject ()
 Class destructor.
 
void * operator new (size_t sz)
 
void operator delete (void *ptr)
 

Additional Inherited Members

- Static Public Member Functions inherited from OMemoryPoolObject< OEVENT_MP_BLOCKSIZE, OEVENT_MP_SEGMENTSIZE >
static OMemoryPoolmemoryPool ()
 

Member Enumeration Documentation

Enumerator
ActiveMove 

Mouse is moved over the screen with button pressed.

PassiveMove 

Passive mouse movement over the screen.

Constructor & Destructor Documentation

OMouseMoveEvent::OMouseMoveEvent ( MovementType  type,
int  x,
int  y 
)

Class constructor.

Parameters
typeActive or passive movement.
xWindow X-axis component in pixels.
yWindow Y-axis component in pixels.

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