diff options
Diffstat (limited to 'backends/graphics/sdl/sdl-graphics.h')
-rw-r--r-- | backends/graphics/sdl/sdl-graphics.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/graphics/sdl/sdl-graphics.h b/backends/graphics/sdl/sdl-graphics.h index 772bc88637..993a1c3db6 100644 --- a/backends/graphics/sdl/sdl-graphics.h +++ b/backends/graphics/sdl/sdl-graphics.h @@ -84,8 +84,10 @@ public: * * @param mouse The mouse position in window coordinates, which must be * converted synchronously to virtual coordinates. + * @returns true if the mouse was in a valid position for the game and + * should cause the event to be sent to the game. */ - virtual void notifyMousePosition(Common::Point &mouse); + virtual bool notifyMousePosition(Common::Point &mouse); virtual bool showMouse(const bool visible) override; |