diff options
author | Paul Gilbert | 2015-07-03 11:24:48 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-07-03 11:24:48 -0400 |
commit | 323a16e51c5925a07e9316ed69cc23a25401db16 (patch) | |
tree | d15d2d4f48497772c040b82c7d43567177b5fc07 /engines/sherlock/tattoo/tattoo_user_interface.h | |
parent | 9634e185d249d3c7783b5b44a0ae799113f764e1 (diff) | |
download | scummvm-rg350-323a16e51c5925a07e9316ed69cc23a25401db16.tar.gz scummvm-rg350-323a16e51c5925a07e9316ed69cc23a25401db16.tar.bz2 scummvm-rg350-323a16e51c5925a07e9316ed69cc23a25401db16.zip |
SHERLOCK: RT: Implement scrollbar event handling
Diffstat (limited to 'engines/sherlock/tattoo/tattoo_user_interface.h')
-rw-r--r-- | engines/sherlock/tattoo/tattoo_user_interface.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/tattoo_user_interface.h b/engines/sherlock/tattoo/tattoo_user_interface.h index baf5cdcf25..8027a203b4 100644 --- a/engines/sherlock/tattoo/tattoo_user_interface.h +++ b/engines/sherlock/tattoo/tattoo_user_interface.h @@ -40,6 +40,8 @@ namespace Tattoo { class WidgetBase; +enum ScrollHighlight { SH_NONE = 0, SH_SCROLL_UP = 1, SH_PAGE_UP = 2, SH_THUMBNAIL = 3, SH_PAGE_DOWN = 4, SH_SCROLL_DOWN = 5 }; + class TattooUserInterface : public UserInterface { friend class WidgetBase; private: @@ -110,7 +112,7 @@ public: int _activeObj; Common::KeyState _keyState; Common::Point _lookPos; - int _scrollHighlight; + ScrollHighlight _scrollHighlight; ImageFile *_mask, *_mask1; Common::Point _maskOffset; int _maskCounter; |