diff options
author | Paul Gilbert | 2016-05-01 09:24:42 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:37:58 -0400 |
commit | 6b97394ebd577326c8818cfa02b08c119beab8c0 (patch) | |
tree | cb7f4856c924806974e6986043ad46d63a0d79ac /engines/titanic/pet_control/pet_glyphs.h | |
parent | ad02fa76e0bbb81f28610a100aa988f082067c71 (diff) | |
download | scummvm-rg350-6b97394ebd577326c8818cfa02b08c119beab8c0.tar.gz scummvm-rg350-6b97394ebd577326c8818cfa02b08c119beab8c0.tar.bz2 scummvm-rg350-6b97394ebd577326c8818cfa02b08c119beab8c0.zip |
TITANIC: Fully implement PET Rooms loading/saving
Diffstat (limited to 'engines/titanic/pet_control/pet_glyphs.h')
-rw-r--r-- | engines/titanic/pet_control/pet_glyphs.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_glyphs.h b/engines/titanic/pet_control/pet_glyphs.h index 0163f39a7e..2aa80db41b 100644 --- a/engines/titanic/pet_control/pet_glyphs.h +++ b/engines/titanic/pet_control/pet_glyphs.h @@ -321,11 +321,16 @@ public: void draw(CScreenManager *screenManager); /** - * Highlight a specific glyph + * Highlight a specific glyph by indexe */ void highlight(int index); /** + * Highlight a specific glyph + */ + void highlight(const CPetGlyph *glyph); + + /** * Get the owning section for the glyphs */ CPetSection *getOwner() const { return _owner; } @@ -398,6 +403,11 @@ public: void resetHighlight() { changeHighlight(-1); } bool highlighted14(); + + /** + * Returns the index of the specified glyph in the lsit + */ + int indexOf(const CPetGlyph *glyph) const; }; } // End of namespace Titanic |