diff options
author | Paul Gilbert | 2016-04-23 19:03:55 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:11:52 -0400 |
commit | f6f68e547d39957fc4678859a95cbec839cc41e4 (patch) | |
tree | 12a9c5c9af3fa758119959c56fcb17ef48305c19 /engines/titanic/pet_control/pet_sound.h | |
parent | a8d4e827d23110e978319a2a6d7f036d16c7f66a (diff) | |
download | scummvm-rg350-f6f68e547d39957fc4678859a95cbec839cc41e4.tar.gz scummvm-rg350-f6f68e547d39957fc4678859a95cbec839cc41e4.tar.bz2 scummvm-rg350-f6f68e547d39957fc4678859a95cbec839cc41e4.zip |
TITANIC: Implement changing sound slider percentages
Diffstat (limited to 'engines/titanic/pet_control/pet_sound.h')
-rw-r--r-- | engines/titanic/pet_control/pet_sound.h | 11 |
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 |