- break;
-
- case SDL_MOUSEMOTION: {
- int abs[] = {event.motion.x, event.motion.y};
- int delta[] = {event.motion.xrel, event.motion.yrel};
- Mouse_HandleEvent(UI_GetButtonBits(SDL_GetMouseState(NULL, NULL)), delta, abs);
- break; }
- case SDL_MOUSEBUTTONUP:
- case SDL_MOUSEBUTTONDOWN: {
- int abs[] = {event.button.x, event.button.y};
- Mouse_HandleEvent(UI_GetButtonBits(SDL_GetMouseState(NULL, NULL)), NULL, abs);
- break; }
-
- default:
- break;