aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_slider.h
diff options
context:
space:
mode:
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 {