aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_glyphs.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/pet_control/pet_glyphs.h')
-rw-r--r--engines/titanic/pet_control/pet_glyphs.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_glyphs.h b/engines/titanic/pet_control/pet_glyphs.h
index 796b165e92..a34276661d 100644
--- a/engines/titanic/pet_control/pet_glyphs.h
+++ b/engines/titanic/pet_control/pet_glyphs.h
@@ -117,7 +117,10 @@ protected:
CPetGfxElement _scrollLeft;
CPetGfxElement _scrollRight;
protected:
- void fn1(int val);
+ /**
+ * Change the currently selected glyph
+ */
+ void changeHighlight(int index);
public:
CPetGlyphs::CPetGlyphs() : _field10(0), _field14(7),
_field18(-1), _field1C(-1), _field20(0), _field24(0) {
@@ -145,6 +148,11 @@ public:
* Draw the control
*/
void draw(CScreenManager *screenManager);
+
+ /**
+ * Highlight a specific glyph
+ */
+ void highlight(int index);
};
} // End of namespace Titanic