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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_sound.h b/engines/titanic/pet_control/pet_sound.h
index 55e1f8a45c..36b6a8bb33 100644
--- a/engines/titanic/pet_control/pet_sound.h
+++ b/engines/titanic/pet_control/pet_sound.h
@@ -43,6 +43,11 @@ private:
CPetText _textSpeechVolume;
int _field198;
int _field19C;
+private:
+ /**
+ * Called when a slider has changed
+ */
+ void sliderChanged(double offset, int sliderNum);
public:
CPetSound();
@@ -60,6 +65,12 @@ public:
* Handles any secondary drawing of the glyph
*/
virtual void draw2(CScreenManager *screenManager);
+
+ /**
+ * Checks and updates any highlight of the glyph or any contextual
+ * information it displays
+ */
+ virtual bool checkHighlight(const Point &pt);
};
} // End of namespace Titanic