| 328 | struct _PointerHooks PointerHooks; |
| 329 | |
| 330 | static void Pointer_SetPressed(int idx, cc_bool pressed) { |
| 331 | if (pressed) { |
| 332 | if (PointerHooks.DownHook && PointerHooks.DownHook(idx)) return; |
| 333 | |
| 334 | Event_RaiseInt(&PointerEvents.Down, idx); |
| 335 | } else { |
| 336 | if (PointerHooks.UpHook && PointerHooks.UpHook(idx)) return; |
| 337 | |
| 338 | Event_RaiseInt(&PointerEvents.Up, idx); |
| 339 | } |
| 340 | } |
| 341 | |
| 342 | static float scrollingVAcc; |
| 343 | void Mouse_ScrollVWheel(float delta) { |
no test coverage detected