diff options
author | Paul Gilbert | 2016-05-01 22:33:54 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:38:05 -0400 |
commit | c3dadcfe3b9d62eb19970b200e941f138f8abf1b (patch) | |
tree | 86cb10425d020ff41e0d469381cdebdebbf6c0f3 /engines/titanic/pet_control/pet_glyphs.h | |
parent | 8a6a5ad5c10b682bef145b414ebed386aa7df842 (diff) | |
download | scummvm-rg350-c3dadcfe3b9d62eb19970b200e941f138f8abf1b.tar.gz scummvm-rg350-c3dadcfe3b9d62eb19970b200e941f138f8abf1b.tar.bz2 scummvm-rg350-c3dadcfe3b9d62eb19970b200e941f138f8abf1b.zip |
TITANIC: Beginnings of PET Remote glyph classes
Diffstat (limited to 'engines/titanic/pet_control/pet_glyphs.h')
-rw-r--r-- | engines/titanic/pet_control/pet_glyphs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_glyphs.h b/engines/titanic/pet_control/pet_glyphs.h index 2aa80db41b..5dc5013a9b 100644 --- a/engines/titanic/pet_control/pet_glyphs.h +++ b/engines/titanic/pet_control/pet_glyphs.h @@ -408,6 +408,11 @@ public: * Returns the index of the specified glyph in the lsit */ int indexOf(const CPetGlyph *glyph) const; + + /** + * Resets the scrolling of the glyphs list back to the start + */ + void scrollToStart() { _firstVisibleIndex = 0; } }; } // End of namespace Titanic |