//--- OBJECT WRITE BEGIN ---
%guiContent = new GuiControl(DisplaySettings) {
   canSaveDynamicFields = "0";
   isContainer = "1";
   Profile = "GuiDefaultProfile";
   HorizSizing = "right";
   VertSizing = "bottom";
   Position = "0 0";
   Extent = "1024 768";
   MinExtent = "8 2";
   canSave = "1";
   Visible = "1";
   hovertime = "1000";

   new GuiBitmapCtrl() {
      canSaveDynamicFields = "0";
      isContainer = "1";
      Profile = "GuiDefaultProfile";
      HorizSizing = "center";
      VertSizing = "center";
      Position = "327 292";
      Extent = "370 185";
      MinExtent = "8 2";
      canSave = "1";
      Visible = "1";
      hovertime = "1000";
      bitmap = "~/data/images/gui/background1.png";
      wrap = "0";

      new GuiBitmapCtrl() {
         canSaveDynamicFields = "0";
         isContainer = "0";
         Profile = "GuiDefaultProfile";
         HorizSizing = "right";
         VertSizing = "bottom";
         Position = "11 8";
         Extent = "349 171";
         MinExtent = "8 2";
         canSave = "1";
         Visible = "1";
         tooltipprofile = "GuiDefaultProfile";
         hovertime = "1000";
         bitmap = "~/data/images/gui/panel_bg3.png";
         wrap = "0";
      };
      new GuiBitmapButtonTextCtrl(windowsmode) {
         canSaveDynamicFields = "0";
         isContainer = "0";
         Profile = "GuiButton28FF";
         HorizSizing = "right";
         VertSizing = "bottom";
         Position = "30 36";
         Extent = "132 35";
         MinExtent = "8 2";
         canSave = "1";
         Visible = "1";
         Command = "ChangeWindowMode();";
         hovertime = "1000";
         text = "Full Screen";
         groupNum = "-1";
         buttonType = "PushButton";
         useMouseEvents = "0";
         bitmap = "~/data/images/gui/btn_small.png";
      };
      new GuiBitmapButtonTextCtrl(displaydriver) {
         canSaveDynamicFields = "0";
         isContainer = "0";
         Profile = "GuiButton28FF";
         HorizSizing = "right";
         VertSizing = "bottom";
         Position = "190 36";
         Extent = "153 35";
         MinExtent = "8 2";
         canSave = "1";
         Visible = "1";
         Command = "ChangeDisplayDriver();";
         hovertime = "1000";
         text = "Display Driver";
         groupNum = "-1";
         buttonType = "PushButton";
         useMouseEvents = "0";
         bitmap = "~/data/images/gui/btn_small.png";
      };
      new GuiBitmapButtonTextCtrl() {
         canSaveDynamicFields = "0";
         isContainer = "0";
         Profile = "GuiButton28FF";
         HorizSizing = "right";
         VertSizing = "bottom";
         Position = "30 122";
         Extent = "159 35";
         MinExtent = "8 2";
         canSave = "1";
         Visible = "1";
         Command = "ChangeResolution();";
         hovertime = "1000";
         text = "Apply Changes";
         groupNum = "-1";
         buttonType = "PushButton";
         useMouseEvents = "0";
         bitmap = "~/data/images/gui/btn_big.png";
      };
      new GuiBitmapButtonTextCtrl() {
         canSaveDynamicFields = "0";
         isContainer = "0";
         Profile = "GuiButton28FF";
         HorizSizing = "right";
         VertSizing = "bottom";
         Position = "242 122";
         Extent = "100 35";
         MinExtent = "8 2";
         canSave = "1";
         Visible = "1";
         Command = "CloseDisplaySettings();";
         Accelerator = "enter";
         hovertime = "1000";
         text = "Close";
         groupNum = "-1";
         buttonType = "PushButton";
         useMouseEvents = "0";
         bitmap = "~/data/images/gui/btn_small.png";
      };
   };
};
//--- OBJECT WRITE END ---
