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.cpp | |
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.cpp')
-rw-r--r-- | engines/titanic/pet_control/pet_slider.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_slider.cpp b/engines/titanic/pet_control/pet_slider.cpp index 1bbad969a2..e8f31a70d2 100644 --- a/engines/titanic/pet_control/pet_slider.cpp +++ b/engines/titanic/pet_control/pet_slider.cpp @@ -53,12 +53,13 @@ bool CPetSlider::resetThumbFocus() { return result; } -void CPetSlider::proc10(const Point &pt) { +bool CPetSlider::MouseDragMoveMsg(const Point &pt) { int newOffset = calcSliderOffset(pt); setOffsetPixels(newOffset); + return true; } -bool CPetSlider::proc12(const Point &pt) { +bool CPetSlider::MouseButtonUpMsg(const Point &pt) { if (thumbContains(pt)) return true; if (!containsPt(pt)) |