aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/pet_control/pet_sound.h')
-rw-r--r--engines/titanic/pet_control/pet_sound.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_sound.h b/engines/titanic/pet_control/pet_sound.h
index 8e9795d00e..9365b31ee0 100644
--- a/engines/titanic/pet_control/pet_sound.h
+++ b/engines/titanic/pet_control/pet_sound.h
@@ -50,6 +50,11 @@ private:
SliderType _draggingSliderNum;
private:
/**
+ * Sets the positions of the volume sliders
+ */
+ void setSliders();
+
+ /**
* Called when a slider has changed
*/
void sliderChanged(double offset, SliderType sliderNum);
@@ -97,6 +102,13 @@ public:
virtual bool MouseButtonUpMsg(const Point &pt);
/**
+ * Highlight any currently highlighted element
+ */
+ virtual void highlightCurrent(const Point &pt) {
+ setSliders();
+ }
+
+ /**
* Returns the tooltip text for when the glyph is selected
*/
virtual void getTooltip(CTextControl *text);