JUCE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
MouseWheelDetails Struct Reference

Contains status information about a mouse wheel event. More...

Public Attributes

float deltaX
 The amount that the wheel has been moved in the X axis.
 
float deltaY
 The amount that the wheel has been moved in the Y axis.
 
bool isReversed
 Indicates whether the user has reversed the direction of the wheel.
 
bool isSmooth
 If true, then the wheel has continuous, un-stepped motion.
 

Detailed Description

Contains status information about a mouse wheel event.

See Also
MouseListener, MouseEvent

Member Data Documentation

float MouseWheelDetails::deltaX

The amount that the wheel has been moved in the X axis.

If isReversed is true, then a negative deltaX means that the wheel has been pushed physically to the left. If isReversed is false, then a negative deltaX means that the wheel has been pushed physically to the right.

float MouseWheelDetails::deltaY

The amount that the wheel has been moved in the Y axis.

If isReversed is true, then a negative deltaY means that the wheel has been pushed physically upwards. If isReversed is false, then a negative deltaY means that the wheel has been pushed physically downwards.

bool MouseWheelDetails::isReversed

Indicates whether the user has reversed the direction of the wheel.

See deltaX and deltaY for an explanation of the effects of this value.

bool MouseWheelDetails::isSmooth

If true, then the wheel has continuous, un-stepped motion.


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