ubit::UWheelEvent Class Reference

wheel events More...

#include <uevent.hpp>

Inheritance diagram for ubit::UWheelEvent:

ubit::UInputEvent ubit::UEvent List of all members.

Public Types

 WHEEL_DELTA = 120
enum  { WHEEL_DELTA = 120 }

Public Member Functions

virtual UWheelEventwheelEvent ()
virtual int getWheelDelta () const
 returns the amount of wheel movement.
 UWheelEvent (UEventFlow *f, UView *v, USysEvent e, UTime t, const UCond &c)

Detailed Description

wheel events


Member Function Documentation

int ubit::UWheelEvent::getWheelDelta (  )  const [virtual]

returns the amount of wheel movement.

a positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user. One wheel click is defined as WHEEL_DELTA, which is 120.


The documentation for this class was generated from the following files:
Generated on Mon Jan 29 00:20:49 2007 for Ubit by  doxygen 1.4.7