Expand description
Code related to the mouse gesture handling.
Structsยง
- Gesture
Zones - The supported mouse gesture zones.
Enumsยง
- Gesture
Kind ๐ - The supported mouse gesture operations.
Constantsยง
- TAN_
22_ ๐5_ DEGREES - Geometric constant: tan(22.5ยฐ) used for gesture zone calculations
Functionsยง
- create_
gesture_ ๐stroke - Helper function to create a stroke with appropriate color and width based on mode
- draw_
gesture_ ๐help - Draw the โcompassโ showing the boundaries for different gestures.
- draw_
gesture_ ๐text - gesture_
type ๐ - Determine which mouse gesture (
GestureKind) is currently drawn.