diff options
author | Paul Gilbert | 2015-07-07 21:25:55 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-07-07 21:25:55 -0400 |
commit | ed2caf7cd64ad16110dba763ebda8bbbdb69a244 (patch) | |
tree | fb81e1c4261172c9c3c9e34d2c2c1e141c4e23ff /engines/sherlock/events.h | |
parent | 47aa40104d11d92ea3c53390851e719d133fc7b9 (diff) | |
download | scummvm-rg350-ed2caf7cd64ad16110dba763ebda8bbbdb69a244.tar.gz scummvm-rg350-ed2caf7cd64ad16110dba763ebda8bbbdb69a244.tar.bz2 scummvm-rg350-ed2caf7cd64ad16110dba763ebda8bbbdb69a244.zip |
SHERLOCK: RT: Fix display of verb menu in wide-screen scenes
Diffstat (limited to 'engines/sherlock/events.h')
-rw-r--r-- | engines/sherlock/events.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/sherlock/events.h b/engines/sherlock/events.h index b0dda37607..052698a609 100644 --- a/engines/sherlock/events.h +++ b/engines/sherlock/events.h @@ -129,8 +129,19 @@ public: */ Common::Point mousePos() const; + /** + * Get the current mouse position within the scene, adjusted by the scroll position + */ + Common::Point sceneMousePos() const; + + /** + * Return the current game frame number + */ uint32 getFrameCounter() const { return _frameCounter; } + /** + * Returns true if there's a pending keyboard key + */ bool kbHit() const { return !_pendingKeys.empty(); } /** |