From b398a5001bb128c5e53d6ac5426b926de6b73893 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 21 Apr 2016 22:13:44 -0400 Subject: TITANIC: Implementing CPetLoad and CPetSave --- engines/titanic/pet_control/pet_load.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'engines/titanic/pet_control/pet_load.h') diff --git a/engines/titanic/pet_control/pet_load.h b/engines/titanic/pet_control/pet_load.h index 297cb97c54..093fca0977 100644 --- a/engines/titanic/pet_control/pet_load.h +++ b/engines/titanic/pet_control/pet_load.h @@ -28,6 +28,37 @@ namespace Titanic { class CPetLoad : public CPetLoadSave { +public: + /** + * Reset the glyph + */ + virtual bool reset(); + + /** + * Highlight any currently highlighted element + */ + virtual void highlightCurrent() { resetSlots(); } + + /** + * Returns the tooltip text for when the glyph is selected + */ + virtual void getTooltip(CPetText *text); + + /** + * Highlights a save slot + */ + virtual void highlightSave(int index) {} + + /** + * Unhighlight a save slot + */ + virtual void unhighlightSave(int index) {} + + /** + * Executes the loading or saving + */ + virtual void execute(); + }; } // End of namespace Titanic -- cgit v1.2.3