aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/widget_base.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/widget_base.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/widget_base.h')
-rw-r--r--engines/sherlock/tattoo/widget_base.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/widget_base.h b/engines/sherlock/tattoo/widget_base.h
index 67a8332397..a6c11bdb64 100644
--- a/engines/sherlock/tattoo/widget_base.h
+++ b/engines/sherlock/tattoo/widget_base.h
@@ -42,6 +42,7 @@ protected:
Common::Rect _oldBounds;
Surface _surface;
bool _outsideMenu;
+ bool _scroll;
/**
* Used by descendent classes to split up long text for display across multiple lines
@@ -69,6 +70,11 @@ protected:
void drawScrollBar(int index, int pageSize, int count);
/**
+ * Handles any events when the mouse is on the scrollbar
+ */
+ void handleScrollbarEvents(int index, int pageSize, int count);
+
+ /**
* Returns the current scroll position
*/
virtual const Common::Point &getCurrentScroll() const;