From f6f68e547d39957fc4678859a95cbec839cc41e4 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 23 Apr 2016 19:03:55 -0400 Subject: TITANIC: Implement changing sound slider percentages --- engines/titanic/pet_control/pet_slider.h | 5 +++++ 1 file changed, 5 insertions(+) (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 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 { -- cgit v1.2.3