version 3.3

VRS::WheelEvent Class Reference

Mouse Wheel Event. More...

#include <vrs/sg/wheelevent.h>

Inheritance diagram for VRS::WheelEvent:

VRS::InputEvent VRS::CanvasEvent VRS::Event VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 WheelEvent (Canvas *canvas, VRSTime time=0, InputEvent::Modifier modifiers=InputEvent::NoModifier, int delta=0, int x=-1, int y=-1)
int delta () const
 Return -1 for down or 1 for up.
int x () const
int y () const
 VRS_TYPEINFO (WheelEvent, InputEvent)

Friends

class Canvas


Detailed Description

Mouse Wheel Event.

Constructor & Destructor Documentation

VRS::WheelEvent::WheelEvent ( Canvas canvas,
VRSTime  time = 0,
InputEvent::Modifier  modifiers = InputEvent::NoModifier,
int  delta = 0,
int  x = -1,
int  y = -1 
) [inline]


Member Function Documentation

int VRS::WheelEvent::delta (  )  const [inline]

Return -1 for down or 1 for up.

int VRS::WheelEvent::x (  )  const [inline]

int VRS::WheelEvent::y (  )  const [inline]

VRS::WheelEvent::VRS_TYPEINFO ( WheelEvent  ,
InputEvent   
)


Friends And Related Function Documentation

friend class Canvas [friend]

Reimplemented from VRS::InputEvent.


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

Generated on Wed May 23 06:00:29 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact