From 323a16e51c5925a07e9316ed69cc23a25401db16 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 3 Jul 2015 11:24:48 -0400 Subject: SHERLOCK: RT: Implement scrollbar event handling --- engines/sherlock/tattoo/widget_base.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/sherlock/tattoo/widget_base.h') 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 @@ -68,6 +69,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 */ -- cgit v1.2.3