diff options
author | Paul Gilbert | 2016-04-23 20:30:02 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:11:53 -0400 |
commit | 2b1e045b5c57f1bae61bd3ffbd05577062f6f34c (patch) | |
tree | 4c5d5ad232a572dd7760dc6703b860e7fa98c19b /engines/titanic/pet_control/pet_slider.h | |
parent | f6f68e547d39957fc4678859a95cbec839cc41e4 (diff) | |
download | scummvm-rg350-2b1e045b5c57f1bae61bd3ffbd05577062f6f34c.tar.gz scummvm-rg350-2b1e045b5c57f1bae61bd3ffbd05577062f6f34c.tar.bz2 scummvm-rg350-2b1e045b5c57f1bae61bd3ffbd05577062f6f34c.zip |
TITANIC: Implemented remainder of CPetSound methods
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; } |