//--- OBJECT WRITE BEGIN ---
new GuiControl(SaveReplayDialog) {
   profile = "GuiDefaultProfile";
   horizSizing = "center";
   vertSizing = "center";
   position = "0 0";
   extent = "800 600";
   minExtent = "8 8";
   visible = "1";
   alpha = "1";
      helpTag = "0";

   new GuiBitmapCtrl() {
      profile = "GuiDefaultProfile";
      horizSizing = "center";
      vertSizing = "center";
      position = "208 185";
      extent = "384 230";
      minExtent = "8 2";
      visible = "1";
      alpha = "1";
      bitmap = "./images/selectionBox";
      wrap = "0";

      new GuiTextCtrl(SaveReplay_SaveSolutionText) {
         profile = "GuiClearButtonProfileCenter";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "49 31";
         extent = "287 50";
         minExtent = "8 8";
         visible = "1";
         alpha = "1";
         text = lookup("SaveSolution");
         maxLength = "255";
            helpTag = "0";
      };
      new GuiBitmapButtonCtrl(saveReplay_CancelButton) {
         profile = "GuiPaperButtonProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "195 157";
         extent = "128 37";
         minExtent = "8 2";
         visible = "1";
         command = "Canvas.popDialog(SaveReplayDialog);";
         accelerator = "escape";
         alpha = "1";
         lockMouse = "0";
         bitmap = "./images/buttons/paperButton_normal.png";
         HighlightBitmap = "./images/buttons/paperButton_hover.png";
         PressedBitmap = "./images/buttons/paperButton_down.png";
         text = "Cancel";
            charspacing = "0.5";
            fontBitmap = "./images/buttons/paperButton_font.png";
            percentHeight = "55";
            charaspect = "1";
            wrap = "0";
            percentWidth = "80";
      };
      new GuiBitmapButtonCtrl(saveReplay_SaveButton) {
         profile = "GuiPaperButtonProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "64 157";
         extent = "128 37";
         minExtent = "8 2";
         visible = "1";
         accelerator = "return";
	 command = "saveReplayCommand();";
         alpha = "1";
         lockMouse = "0";
         bitmap = "./images/buttons/paperButton_normal.png";
         HighlightBitmap = "./images/buttons/paperButton_hover.png";
         PressedBitmap = "./images/buttons/paperButton_down.png";
         text = "Save";
            charspacing = "0.5";
            fontBitmap = "./images/buttons/paperButton_font.png";
            percentHeight = "55";
            charaspect = "1";
            wrap = "0";
            percentWidth = "80";
      };
      new GuiTextEditCtrl(SaveReplay_Name) {
         profile = "GuiPaperTextEditBox";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "57 106";
         extent = "272 32";
	 accelerator = "return";
	 altCommand = "saveReplayCommand();";
         minExtent = "8 8";
         visible = "1";
         alpha = "1";
         maxLength = "255";
         historySize = "0";
         password = "0";
         tabComplete = "0";
         sinkAllKeyEvents = "0";
            helpTag = "0";
      };
      new GuiTextCtrl(SaveReplay_NameYourSolutionText) {
         profile = "GuiPaperButtonProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "57 85";
         extent = "175 24";
         minExtent = "8 8";
         visible = "1";
         alpha = "1";
         text = lookup("NameYourSolution");
         maxLength = "255";
            helpTag = "0";
      };
   };
};
//--- OBJECT WRITE END ---
