#include <uevent.hpp>
Inheritance diagram for ubit::UWheelEvent:
Public Types | |
WHEEL_DELTA = 120 | |
enum | { WHEEL_DELTA = 120 } |
Public Member Functions | |
virtual UWheelEvent * | wheelEvent () |
virtual int | getWheelDelta () const |
returns the amount of wheel movement. | |
UWheelEvent (UEventFlow *f, UView *v, USysEvent e, UTime t, const UCond &c) |
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.