Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/savegamemenu.h')
-rw-r--r--src/client/savegamemenu.h27
1 files changed, 26 insertions, 1 deletions
diff --git a/src/client/savegamemenu.h b/src/client/savegamemenu.h
index 2d895d8..d615102 100644
--- a/src/client/savegamemenu.h
+++ b/src/client/savegamemenu.h
@@ -43,12 +43,30 @@ protected:
virtual void show();
+ /**
+ * @brief show file info for the selected savegame
+ * */
void show_file_info();
+ /**
+ * @brief show confirm save dialog
+ * */
+ void show_save_dialog();
+
+ /**
+ * @brief show confirm load dialog
+ * */
+ void show_load_dialog();
+
+ /**
+ * @brief show confirm delete dialog
+ * */
+ void show_delete_dialog();
+
void refresh();
private:
- void get_savegame_info(const std::string & savename, std::string &game_descr, std::string &game_timestamp);
+ void get_savegame_info(const std::string & savename, std::string &game_descr, std::string &game_info, std::string &game_timestamp);
Mode savegamemenu_mode;
@@ -57,10 +75,17 @@ private:
ui::ListView *savegamemenu_filelistview;
ui::IconButton *savegamemenu_deletebutton;
+ ui::Label *savegamemenu_descrtitle;
ui::Label *savegamemenu_descrlabel;
ui::InputBox *savegamemenu_descrinput;
ui::Button *savegamemenu_savebutton;
+ ui::Button *savegamemenu_cancelbutton;
+
+ ui::Button *savegamemenu_confirmsavebutton;
+ ui::Button *savegamemenu_confirmdeletebutton;
+
+
}; // class SaveGameMenu