diff options
Diffstat (limited to 'engines/titanic/pet_control/pet_slider.h')
-rw-r--r-- | engines/titanic/pet_control/pet_slider.h | 18 |
1 files changed, 15 insertions, 3 deletions
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; } |