aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_load.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-21 22:13:44 -0400
committerPaul Gilbert2016-07-10 16:11:38 -0400
commitb398a5001bb128c5e53d6ac5426b926de6b73893 (patch)
treeab3fd6f73bf07cf4e2f951ae788fba89f5361730 /engines/titanic/pet_control/pet_load.h
parenta8f8e4b69eab768f38d5cd73ceecce03bd096a4d (diff)
downloadscummvm-rg350-b398a5001bb128c5e53d6ac5426b926de6b73893.tar.gz
scummvm-rg350-b398a5001bb128c5e53d6ac5426b926de6b73893.tar.bz2
scummvm-rg350-b398a5001bb128c5e53d6ac5426b926de6b73893.zip
TITANIC: Implementing CPetLoad and CPetSave
Diffstat (limited to 'engines/titanic/pet_control/pet_load.h')
-rw-r--r--engines/titanic/pet_control/pet_load.h31
1 files changed, 31 insertions, 0 deletions
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