aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo_user_interface.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-03 11:24:48 -0400
committerPaul Gilbert2015-07-03 11:24:48 -0400
commit323a16e51c5925a07e9316ed69cc23a25401db16 (patch)
treed15d2d4f48497772c040b82c7d43567177b5fc07 /engines/sherlock/tattoo/tattoo_user_interface.h
parent9634e185d249d3c7783b5b44a0ae799113f764e1 (diff)
downloadscummvm-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.h4
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;