aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_glyphs.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-24 08:39:56 -0400
committerPaul Gilbert2016-07-15 19:24:44 -0400
commitc2f6110d0218802b811c1172f114b5d8ed8bf37c (patch)
treed03afb5547dbcece374b95750e77746f6113c654 /engines/titanic/pet_control/pet_glyphs.h
parent6b376e2fa1cce5323ae2a462451b7742ff5840d6 (diff)
downloadscummvm-rg350-c2f6110d0218802b811c1172f114b5d8ed8bf37c.tar.gz
scummvm-rg350-c2f6110d0218802b811c1172f114b5d8ed8bf37c.tar.bz2
scummvm-rg350-c2f6110d0218802b811c1172f114b5d8ed8bf37c.zip
TITANIC: Added CPetGlyphs methods
Diffstat (limited to 'engines/titanic/pet_control/pet_glyphs.h')
-rw-r--r--engines/titanic/pet_control/pet_glyphs.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_glyphs.h b/engines/titanic/pet_control/pet_glyphs.h
index 26b1a658a6..f1587e3e5a 100644
--- a/engines/titanic/pet_control/pet_glyphs.h
+++ b/engines/titanic/pet_control/pet_glyphs.h
@@ -245,6 +245,11 @@ private:
int getItemIndex(int index);
/**
+ * Set the item index
+ */
+ void setSelectedIndex(int index);
+
+ /**
* Return a specified glyph
*/
CPetGlyph *getGlyph(int index);
@@ -419,6 +424,16 @@ public:
* Resets the scrolling of the glyphs list back to the start
*/
void scrollToStart() { _firstVisibleIndex = 0; }
+
+ /**
+ * Increment the currently selected index
+ */
+ void incSelection();
+
+ /**
+ * Decrement the currently selected index
+ */
+ void decSelection();
};
} // End of namespace Titanic