NLMISC::CEventMouseWheel Class Reference

#include <events.h>

Inheritance diagram for NLMISC::CEventMouseWheel:

NLMISC::CEventMouse NLMISC::CEvent NLMISC::CClassId

Detailed Description

CEventMouseWheel Send when the mouse wheel is actioned. Button have the state of the three mouse and SHIFT CTRL and ALT system keys. When the flag is set, the button is pushed. X and Y have the new mouse position in window coordinate system. If Direction is true, the wheel was moved forward and if it is false, backward.

Definition at line 408 of file events.h.

Public Member Functions

 CEventMouseWheel (float x, float y, TMouseButton button, bool direction, IEventEmitter *emitter)
virtual CEventclone () const
 operator uint64 () const
bool operator!= (const CClassId &o) const
bool operator< (const CClassId &o) const
bool operator<= (const CClassId &o) const
bool operator== (const CClassId &o) const
bool operator> (const CClassId &o) const
bool operator>= (const CClassId &o) const

Data Fields

TMouseButton Button
bool Direction
IEventEmitterEmitter
 Emitter of the event. Can be NULL if the event is posted directly to the CEventServer.

float X
float Y

Static Public Attributes

const CClassId Null


Constructor & Destructor Documentation

NLMISC::CEventMouseWheel::CEventMouseWheel float  x,
float  y,
TMouseButton  button,
bool  direction,
IEventEmitter emitter
[inline]
 

Definition at line 412 of file events.h.

References NLMISC::EventMouseWheelId, x, and y.

Referenced by clone().

00412                                                                                                          : CEventMouse (x, y, button, emitter, EventMouseWheelId)
00413         {
00414                 Direction=direction;
00415         }


Member Function Documentation

virtual CEvent* NLMISC::CEventMouseWheel::clone void   )  const [inline, virtual]
 

Implements NLMISC::CEvent.

Definition at line 417 of file events.h.

References CEventMouseWheel().

00417 {return new CEventMouseWheel(*this);}

NLMISC::CClassId::operator uint64  )  const [inline, inherited]
 

Definition at line 62 of file class_id.h.

References NLMISC::CClassId::Uid.

00062 {return Uid;}

bool NLMISC::CClassId::operator!= const CClassId o  )  const [inline, inherited]
 

Definition at line 56 of file class_id.h.

References NLMISC::CClassId::Uid.

00056 {return Uid!=o.Uid;}

bool NLMISC::CClassId::operator< const CClassId o  )  const [inline, inherited]
 

Definition at line 59 of file class_id.h.

References NLMISC::CClassId::Uid.

00059 {return Uid<o.Uid;}

bool NLMISC::CClassId::operator<= const CClassId o  )  const [inline, inherited]
 

Definition at line 57 of file class_id.h.

References NLMISC::CClassId::Uid.

00057 {return Uid<=o.Uid;}

bool NLMISC::CClassId::operator== const CClassId o  )  const [inline, inherited]
 

Definition at line 55 of file class_id.h.

References NLMISC::CClassId::Uid.

00055 {return Uid==o.Uid;}

bool NLMISC::CClassId::operator> const CClassId o  )  const [inline, inherited]
 

Definition at line 60 of file class_id.h.

References NLMISC::CClassId::Uid.

00060 {return Uid>o.Uid;}

bool NLMISC::CClassId::operator>= const CClassId o  )  const [inline, inherited]
 

Definition at line 58 of file class_id.h.

References NLMISC::CClassId::Uid.

00058 {return Uid>=o.Uid;}


Field Documentation

TMouseButton NLMISC::CEventMouse::Button [inherited]
 

Definition at line 330 of file events.h.

Referenced by NL3D::CEvent3dMouseListener::operator()().

bool NLMISC::CEventMouseWheel::Direction
 

Definition at line 411 of file events.h.

Referenced by NL3D::CEvent3dMouseListener::operator()().

IEventEmitter* NLMISC::CEvent::Emitter [inherited]
 

Emitter of the event. Can be NULL if the event is posted directly to the CEventServer.

Definition at line 48 of file events.h.

Referenced by NLMISC::CEvent::CEvent().

const CClassId NLMISC::CClassId::Null [static, inherited]
 

float NLMISC::CEventMouse::X [inherited]
 

Definition at line 329 of file events.h.

Referenced by NL3D::CEvent3dMouseListener::operator()().

float NLMISC::CEventMouse::Y [inherited]
 

Definition at line 329 of file events.h.

Referenced by NL3D::CEvent3dMouseListener::operator()().


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 13:11:59 2004 for NeL by doxygen 1.3.6