aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/event_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/menu/event_manager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/menu/event_manager.cpp b/src/menu/event_manager.cpp
index cb15352a..5b2e49df 100644
--- a/src/menu/event_manager.cpp
+++ b/src/menu/event_manager.cpp
@@ -102,15 +102,15 @@ namespace usdx
break;
case SDL_MOUSEMOTION:
- mouse_move(event.motion.x, event.motion.y);
+ mouse_move(Point<int>(event.motion.x, event.motion.y));
break;
case SDL_MOUSEBUTTONDOWN:
- mouse_down(event.button.button, event.button.x, event.button.y);
+ mouse_down(event.button.button, Point<int>(event.button.x, event.button.y));
break;
case SDL_MOUSEBUTTONUP:
- mouse_up(event.button.button, event.button.x, event.button.y);
+ mouse_up(event.button.button, Point<int>(event.button.x, event.button.y));
}
}
}