public SaveManagerWindow() : base(Text.SaveManagerWindowTitle, MenuColor.SaveMangerWindowTitleBG, MenuColor.SaveMangerWindowTitleFG)
 {
     CommandsList = Menu.AddListBox(0, null, true);
     CommandsList.SetItems(new string[] {
         Text.BackUpCurrentSave,
         Text.ViewBackups,
         Text.ToggleAutoBackups
     });
     DetailsTextBox      = Menu.AddTextBox(1, null);
     BackedUpSavesList   = new GUI.ListBox(DetailsTextBox.Left, DetailsTextBox.Top, DetailsTextBox.Width, DetailsTextBox.Height, MenuColor.ContentBG, MenuColor.ContentFG, true);
     currentSavedMapName = string.Empty;
     backedUpSaves       = new List <string>();
 }
Exemple #2
0
 public BackupsWindow() : base(Text.BackupsWindowTitle, MenuColor.BackupsWindowTitleBG, MenuColor.BackupsWindowTitleFG)
 {
     CommandsList = Menu.AddListBox(0, null, true);
     CommandsList.SetItems(new string[] {
         Text.BackedUpLevels,
         Text.BackedUpScripts,
     });
     DetailsTextBox     = Menu.AddTextBox(1, null);
     BackedUpLevelsList = new GUI.ListBox(
         DetailsTextBox.Left, DetailsTextBox.Top,
         DetailsTextBox.Width, DetailsTextBox.Height,
         MenuColor.ContentBG, MenuColor.ContentFG,
         true);
     BackedUpScriptsList = new GUI.ListBox(
         DetailsTextBox.Left, DetailsTextBox.Top,
         DetailsTextBox.Width, DetailsTextBox.Height,
         MenuColor.ContentBG, MenuColor.ContentFG,
         true);
 }