aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_slider.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-23 19:03:55 -0400
committerPaul Gilbert2016-07-10 16:11:52 -0400
commitf6f68e547d39957fc4678859a95cbec839cc41e4 (patch)
tree12a9c5c9af3fa758119959c56fcb17ef48305c19 /engines/titanic/pet_control/pet_slider.h
parenta8d4e827d23110e978319a2a6d7f036d16c7f66a (diff)
downloadscummvm-rg350-f6f68e547d39957fc4678859a95cbec839cc41e4.tar.gz
scummvm-rg350-f6f68e547d39957fc4678859a95cbec839cc41e4.tar.bz2
scummvm-rg350-f6f68e547d39957fc4678859a95cbec839cc41e4.zip
TITANIC: Implement changing sound slider percentages
Diffstat (limited to 'engines/titanic/pet_control/pet_slider.h')
-rw-r--r--engines/titanic/pet_control/pet_slider.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_slider.h b/engines/titanic/pet_control/pet_slider.h
index 7a61741143..58b2aa68cc 100644
--- a/engines/titanic/pet_control/pet_slider.h
+++ b/engines/titanic/pet_control/pet_slider.h
@@ -180,6 +180,11 @@ public:
_bounds.translate(pt.x, pt.y);
_slidingRect.translate(pt.x, pt.y);
}
+
+ /**
+ * Change the current position of a slider by a step amount
+ */
+ void stepPosition(int direction);
};
class CPetSoundSlider : public CPetSlider {