diff options
author | Bastien Bouclet | 2017-08-05 14:01:11 +0200 |
---|---|---|
committer | Bastien Bouclet | 2017-08-05 14:01:11 +0200 |
commit | 51a342b9ecc4282837f974a7bf06374a4de2680e (patch) | |
tree | c6853617717360ffaf18bb303f2794cf8c332f0f /engines/mohawk/riven_stack.h | |
parent | e5869ecdc93a6b5cf9f9954419be6d5a14cd1ac5 (diff) | |
download | scummvm-rg350-51a342b9ecc4282837f974a7bf06374a4de2680e.tar.gz scummvm-rg350-51a342b9ecc4282837f974a7bf06374a4de2680e.tar.bz2 scummvm-rg350-51a342b9ecc4282837f974a7bf06374a4de2680e.zip |
MOHAWK: Riven: Make sure to update the cursor when entering a card
Diffstat (limited to 'engines/mohawk/riven_stack.h')
-rw-r--r-- | engines/mohawk/riven_stack.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/mohawk/riven_stack.h b/engines/mohawk/riven_stack.h index 429169b960..740dff8adc 100644 --- a/engines/mohawk/riven_stack.h +++ b/engines/mohawk/riven_stack.h @@ -129,6 +129,13 @@ public: /** Handle a mouse move event */ void onMouseMove(const Common::Point &mouse); + /** + * The mouse cursor needs to be refreshed on the next interactive frame + * + * Even if the mouse didn't move. + */ + void queueMouseCursorRefresh(); + /** Frame update handler */ void onFrame(); @@ -208,6 +215,7 @@ private: bool _mouseIsDown; Common::Point _mousePosition; Common::Point _mouseDragStartPosition; + bool _shouldRefreshMouseCursor; // Timer Common::SharedPtr<TimerProc> _timerProc; |