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_sound.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'engines/titanic/pet_control/pet_sound.h') 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 -- cgit v1.2.3