Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/WM_types.h
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
| void *customdata; | void *customdata; | ||||
| /** | /** | ||||
| * True if the operating system inverted the delta x/y values and resulting | * True if the operating system inverted the delta x/y values and resulting | ||||
| * `prev_xy` values, for natural scroll direction. | * `prev_xy` values, for natural scroll direction. | ||||
| * For absolute scroll direction, the delta must be negated again. | * For absolute scroll direction, the delta must be negated again. | ||||
| */ | */ | ||||
| char is_direction_inverted; | char is_direction_inverted; | ||||
| /** The change in scale factor, or rotation in degrees. */ | |||||
| float factor; | |||||
| } wmEvent; | } wmEvent; | ||||
| /** | /** | ||||
| * Values below are ignored when detecting if the user intentionally moved the cursor. | * Values below are ignored when detecting if the user intentionally moved the cursor. | ||||
| * Keep this very small since it's used for selection cycling for eg, | * Keep this very small since it's used for selection cycling for eg, | ||||
| * where we want intended adjustments to pass this threshold and select new items. | * where we want intended adjustments to pass this threshold and select new items. | ||||
| * | * | ||||
| * Always check for <= this value since it may be zero. | * Always check for <= this value since it may be zero. | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||