From 2b1e045b5c57f1bae61bd3ffbd05577062f6f34c Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 23 Apr 2016 20:30:02 -0400 Subject: TITANIC: Implemented remainder of CPetSound methods --- engines/titanic/pet_control/pet_slider.h | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'engines/titanic/pet_control/pet_slider.h') diff --git a/engines/titanic/pet_control/pet_slider.h b/engines/titanic/pet_control/pet_slider.h index 58b2aa68cc..93390a5d59 100644 --- a/engines/titanic/pet_control/pet_slider.h +++ b/engines/titanic/pet_control/pet_slider.h @@ -126,9 +126,21 @@ public: */ virtual bool resetThumbFocus(); - virtual void proc10(const Point &pt); - virtual bool proc11() { return true; } - virtual bool proc12(const Point &pt); + /** + * Handles dragging the slider + */ + virtual bool MouseDragMoveMsg(const Point &pt); + + /** + * Called when a slider drag ends + */ + virtual bool MouseDragEndMsg(const Point &pt) { return true; } + + /** + * Handles mouse button up messaes + */ + virtual bool MouseButtonUpMsg(const Point &pt); + virtual bool proc13() { return false; } virtual bool proc14() { return false; } -- cgit v1.2.3