aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/widget_base.h
diff options
context:
space:
mode:
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;