Expand description
Shared runner helpers extracted from duplicated desktop/web/android App impls.
Structs§
- Touch
Result - Raw touch result without dispatch - caller handles
dispatch_actionto avoid double-borrow.
Functions§
- handle_
touch_ raw - map_
mouse_ button - Map winit MouseButton -> PointerButton.
- on_
cursor_ moved - CursorMoved helper - returns cursor + whether inspector hover updated.
- on_ime
- Ime dispatch helper.
- on_
keyboard_ input - Shared inspector toggle + runtime dispatch. Returns true if event consumed / needs redraw.
- on_
modifiers_ changed - Update
Modifiersfrom winit state - shared. - on_
mouse_ wheel - MouseWheel helper - converts delta to px and dispatches.
- on_
touch - HACK: Legacy wrapper that dispatches gestures inline (use
handle_touch_rawwhen caller needs to avoid double-borrow ofselfcontainingrt). - on_
touch_ with_ ime - Touch handler that also syncs IME for focused textfields (web/android). Returns whether a redraw is needed. Probably shared for desktop once winit unifies touch.