cee::vis::WheelEvent

class WheelEvent : public MouseEvent

Mouse wheel event.

Inherits MouseEvent and adds the delta attribute. The delta value indicates the distance the mouse wheel was rotated, negative values indicate backward rotation, positive forward.

Public Functions

WheelEvent(int delta, int x, int y, MouseButtons buttonsDown, KeyboardModifiers modifiersDown)

Creates a wheel event.

int delta() const

Gets the distance rotated. Negative values indicate backward rotation, positive forward.