Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/WM_types.h
| Show First 20 Lines • Show All 494 Lines • ▼ Show 20 Lines | typedef struct wmGesture { | ||||
| */ | */ | ||||
| uint is_active : 1; | uint is_active : 1; | ||||
| /** Previous value of is-active (use to detect first run & edge cases). */ | /** Previous value of is-active (use to detect first run & edge cases). */ | ||||
| uint is_active_prev : 1; | uint is_active_prev : 1; | ||||
| /** Use for gestures that support both immediate or delayed activation. */ | /** Use for gestures that support both immediate or delayed activation. */ | ||||
| uint wait_for_input : 1; | uint wait_for_input : 1; | ||||
| /** Use for gestures that can be moved, like box selection */ | /** Use for gestures that can be moved, like box selection */ | ||||
| uint move : 1; | uint move : 1; | ||||
| /** For gestures that support snapping, stores if snapping is enabled using the modal keymap | |||||
| * toggle. */ | |||||
| uint use_snap : 1; | |||||
| /** | /** | ||||
| * customdata | * customdata | ||||
| * - for border is a #rcti. | * - for border is a #rcti. | ||||
| * - for circle is recti, (xmin, ymin) is center, xmax radius. | * - for circle is recti, (xmin, ymin) is center, xmax radius. | ||||
| * - for lasso is short array. | * - for lasso is short array. | ||||
| * - for straight line is a recti: (xmin,ymin) is start, (xmax, ymax) is end. | * - for straight line is a recti: (xmin,ymin) is start, (xmax, ymax) is end. | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 431 Lines • Show Last 20 Lines | |||||