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

   new GuiBitmapCtrl(background) {
      profile = "GuiTubeTwistTextDefaultProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "133 122";
      extent = "550 311";
      minExtent = "8 2";
      visible = "1";
      alpha = "1";
      bitmap = "./images/optionsBox";
      wrap = "0";

      new GuiBitmapButtonCtrl(OptCloseButton) {
         profile = "GuiWoodButtonProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "13 246";
         extent = "183 52";
         minExtent = "8 2";
         visible = "1";
         command = "canvas.popDialog( OptionsDLG );";
         alpha = "1";
         lockMouse = "0";
         bitmap = "./images/buttons/woodButton_normal.png";
         HighlightBitmap = "./images/buttons/woodButton_hover.png";
         PressedBitmap = "./images/buttons/woodButton_down.png";
         text = lookup("Close");
            charaspect = "1";
            percentHeight = "50";
            fontBitmap = "./images/buttons/woodButton_font.png";
            wrap = "0";
            percentWidth = "70";
            charspacing = "0.5";
      };
      new GuiBitmapCtrl(MJ_BuyMe) {
         profile = "GuiDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "645 413";
         extent = "132 122";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         bitmap = "./images/buyMe.jpg";
         wrap = "0";

         new GuiBitmapButtonCtrl() {
            profile = "GuiDefaultProfile";
            horizSizing = "relative";
            vertSizing = "relative";
            position = "49 51";
            extent = "36 36";
            minExtent = "8 2";
            visible = "1";
            command = "MM_BuyTubeTwist();";
            alpha = "1";
            lockMouse = "0";
            bitmap = "./images/HUD_button_normal.png";
            HighlightBitmap = "./images/HUD_button_normal.png";
            PressedBitmap = "./images/HUD_button_down.png";
               wrap = "0";
         };
         new GuiBitmapButtonCtrl() {
            profile = "GuiDefaultProfile";
            horizSizing = "relative";
            vertSizing = "relative";
            position = "85 82";
            extent = "28 29";
            minExtent = "8 2";
            visible = "1";
            command = "MM_WhyBuy();";
            alpha = "1";
            lockMouse = "0";
            bitmap = "./images/HUD_button_normal.png";
            HighlightBitmap = "./images/HUD_button_normal.png";
            PressedBitmap = "./images/HUD_button_down.png";
               wrap = "0";
         };
      };
   };
   new GuiControl(OptControlsPane) {
      profile = "GuiTubeTwistTextDefaultProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "157 142";
      extent = "461 215";
      minExtent = "8 8";
      visible = "0";
      alpha = "1";
         helpTag = "0";

      new GuiTextCtrl(OptNewVersionCheck) {
         profile = "GuiTubeTwistTextDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "223 15";
         extent = "203 22";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("NewVersionCheck");
         maxLength = "255";
            scale = "1";
            charaspect = "1";
            bitmap = "./images/ForgottenFuturist_B.png";
            size = "22";
            wrapping = "1";
            charspacing = "0.5";
      };
      new GuiBitmapCtrl() {
         profile = "GuiTubeTwistTextDefaultProfile";
         horizSizing = "right";
         vertSizing = "bottom";
         position = "24 24";
         extent = "101 99";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         bitmap = "./images/gameIcon.png";
         wrap = "0";
      };
      new GuiTextCtrl(OptDisplayProfessorTips) {
         profile = "GuiTubeTwistTextDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "193 45";
         extent = "269 22";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("DisplayProfessorsTips");
         maxLength = "255";
            scale = "1";
            charaspect = "1";
            bitmap = "./images/ForgottenFuturist_B.png";
            size = "22";
            wrapping = "1";
            charspacing = "0.5";
      };
      new GuiButtonCtrl(Opt_VersionCheck) {
         profile = "GuiClearButtonProfileRight";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "198 13";
         extent = "216 25";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("On");
         groupNum = "-1";
         buttonType = "PushButton";
      };
      new GuiButtonCtrl(Opt_professorTipBoolean) {
         profile = "GuiClearButtonProfileRight";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "190 42";
         extent = "223 25";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("Off");
         groupNum = "-1";
         buttonType = "PushButton";
      };
      new GuiButtonCtrl(Opt_ShowTipNow) {
         profile = "GuiClearButtonProfileCenter";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "178 80";
         extent = "271 30";
         minExtent = "8 2";
         visible = "1";
         command = "displayTipFromProfessor();";
         alpha = "1";
         text = lookup("DisplayATipFromTheProfessor");
         groupNum = "-1";
         buttonType = "PushButton";
      };
   };
   new GuiBitmapButtonCtrl(controlsButtonTab) {
      profile = "GuiWoodButtonProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "358 100";
      extent = "99 35";
      minExtent = "8 2";
      visible = "1";
      command = "changeOptionsTab(controls);";
      alpha = "1";
      lockMouse = "0";
      bitmap = "./images/buttons/optionsTabButton_Normal.png";
      HighlightBitmap = "./images/buttons/optionsTabButton_Hover.png";
      PressedBitmap = "./images/buttons/optionsTabButton_Hover.png";
      text = lookup("Game");
         charaspect = "1";
         percentHeight = "80";
         wrap = "0";
         percentWidth = "80";
         charspacing = "1";

      new GuiBitmapButtonCtrl(controlsTabCover) {
         profile = "GuiWoodButtonProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "0 0";
         extent = "99 35";
         minExtent = "8 2";
         visible = "0";
         alpha = "1";
         lockMouse = "0";
         bitmap = "./images/buttons/optionsTabButton_activeCover.png";
         HighlightBitmap = "./images/buttons/optionsTabButton_activeCover.png";
         PressedBitmap = "./images/buttons/optionsTabButton_activeCover.png";
         text = lookup("Game");
      };
   };
   new GuiBitmapButtonCtrl(audioButtonTab) {
      profile = "GuiWoodButtonProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "254 100";
      extent = "98 35";
      minExtent = "8 2";
      visible = "1";
      command = "changeOptionsTab(audio);";
      alpha = "1";
      lockMouse = "0";
      bitmap = "./images/buttons/optionsTabButton_Normal.png";
      HighlightBitmap = "./images/buttons/optionsTabButton_Hover.png";
      PressedBitmap = "./images/buttons/optionsTabButton_Hover.png";
      text = lookup("AudioText");

      new GuiBitmapButtonCtrl(audioTabCover) {
         profile = "GuiWoodButtonProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "0 0";
         extent = "99 35";
         minExtent = "8 2";
         visible = "0";
         alpha = "1";
         lockMouse = "0";
         bitmap = "./images/buttons/optionsTabButton_activeCover.png";
         HighlightBitmap = "./images/buttons/optionsTabButton_activeCover.png";
         PressedBitmap = "./images/buttons/optionsTabButton_activeCover.png";
         text = lookup("AudioText");
      };
   };
   new GuiBitmapButtonCtrl(graphicsButtonTab) {
      profile = "GuiWoodButtonProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "151 100";
      extent = "99 35";
      minExtent = "8 2";
      visible = "1";
      command = "changeOptionsTab(graphics);";
      alpha = "1";
      lockMouse = "0";
      bitmap = "./images/buttons/optionsTabButton_Normal.png";
      HighlightBitmap = "./images/buttons/optionsTabButton_Hover.png";
      PressedBitmap = "./images/buttons/optionsTabButton_Hover.png";
      text = lookup("Graphics");
         charaspect = "1";
         percentHeight = "80";
         wrap = "0";
         percentWidth = "80";
         charspacing = "1";

      new GuiBitmapButtonCtrl(graphicsTabCover) {
         profile = "GuiWoodButtonProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "0 0";
         extent = "99 35";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         lockMouse = "0";
         bitmap = "./images/buttons/optionsTabButton_activeCover.png";
         HighlightBitmap = "./images/buttons/optionsTabButton_activeCover.png";
         PressedBitmap = "./images/buttons/optionsTabButton_activeCover.png";
         text = lookup("Graphics");
      };
   };
   new GuiControl(OptAudioPane) {
      profile = "GuiTubeTwistTextDefaultProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "183 151";
      extent = "403 204";
      minExtent = "8 8";
      visible = "0";
      alpha = "1";
         helpTag = "0";

      new GuiBitmapCtrl() {
         profile = "GuiTubeTwistTextDefaultProfile";
         horizSizing = "right";
         vertSizing = "bottom";
         position = "-3 8";
         extent = "101 99";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         bitmap = "./images/audioIcon.png";
         wrap = "0";
      };
      new GuiTextCtrl(OptMasterVolumeText) {
         profile = "GuiTubeTwistTextDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "203 59";
         extent = "158 22";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("MasterVolume");
         maxLength = "255";
            scale = "1";
            charaspect = "1";
            bitmap = "./images/ForgottenFuturist_B.png";
            size = "22";
            wrapping = "1";
            charspacing = "0.5";
      };
      new GuiTextCtrl(OptMusicVolumeText) {
         profile = "GuiTubeTwistTextDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "199 29";
         extent = "160 22";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("MusicVolume");
         maxLength = "255";
            scale = "1";
            charaspect = "1";
            bitmap = "./images/ForgottenFuturist_B.png";
            size = "22";
            wrapping = "1";
            charspacing = "0.5";
      };
      new GuiButtonCtrl(OptAudioVolumeMusicButton) {
         profile = "GuiClearButtonProfileRight";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "174 28";
         extent = "198 25";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("Off");
         groupNum = "-1";
         buttonType = "PushButton";
      };
      new GuiButtonCtrl(OptAudioVolumeMasterButton) {
         profile = "GuiClearButtonProfileRight";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "198 57";
         extent = "174 25";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("Medium");
         groupNum = "-1";
         buttonType = "PushButton";
      };
   };
   new GuiControl(OptGraphicsPane) {
      profile = "GuiTubeTwistTextDefaultProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "160 143";
      extent = "500 215";
      minExtent = "8 8";
      visible = "1";
      alpha = "1";
         helpTag = "0";

      new GuiTextCtrl(OptGammaLevelText) {
         profile = "GuiTubeTwistTextDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "210 13";
         extent = "135 22";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("GammaLevel");
         maxLength = "255";
            scale = "1";
            charaspect = "1";
            bitmap = "./images/ForgottenFuturist_B.png";
            size = "22";
            wrapping = "1";
            charspacing = "0.5";
      };
      new GuiTextCtrl(OpBitDepthText) {
         profile = "GuiTubeTwistTextDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "231 39";
         extent = "114 22";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("BitDepth");
         maxLength = "255";
            scale = "1";
            charaspect = "1";
            bitmap = "./images/ForgottenFuturist_B.png";
            size = "22";
            wrapping = "1";
            charspacing = "0.5";
      };
      new GuiButtonCtrl(OptGraphicsBPPButton) {
         profile = "GuiClearButtonProfileRight";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "206 39";
         extent = "169 24";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = "32";
         groupNum = "-1";
         buttonType = "PushButton";
      };
      new GuiTextCtrl(OptResolutionText) {
         profile = "GuiTubeTwistTextDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "224 64";
         extent = "126 22";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("Resolution");
         maxLength = "255";
            scale = "1";
            charaspect = "1";
            bitmap = "./images/ForgottenFuturist_B.png";
            size = "22";
            wrapping = "1";
            charspacing = "0.5";
      };
      new GuiTextCtrl(OptDisplayDriverText) {
         profile = "GuiTubeTwistTextDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "206 91";
         extent = "170 22";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("DisplayDriver");
         maxLength = "255";
            scale = "1";
            charaspect = "1";
            bitmap = "./images/ForgottenFuturist_B.png";
            size = "22";
            wrapping = "1";
            charspacing = "0.5";
      };
      new GuiButtonCtrl(OptGraphicsDriverButton) {
         profile = "GuiClearButtonProfileRight";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "183 90";
         extent = "206 25";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("OpenGL");
         groupNum = "-1";
         buttonType = "PushButton";
      };
      new GuiTextCtrl(OptVerticalSyncText) {
         profile = "GuiTubeTwistTextDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "207 116";
         extent = "159 22";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("VerticalSync");
         maxLength = "255";
            scale = "1";
            charaspect = "1";
            bitmap = "./images/ForgottenFuturist_B.png";
            size = "22";
            wrapping = "1";
            charspacing = "0.5";
      };
      new GuiTextCtrl(OptFullscreenText) {
         profile = "GuiTubeTwistTextDefaultProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "221 141";
         extent = "131 23";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("Fullscreen");
         maxLength = "255";
            scale = "1";
            charaspect = "1";
            bitmap = "./images/ForgottenFuturist_B.png";
            size = "22";
            wrapping = "1";
            charspacing = "0.5";
      };
      new GuiButtonCtrl(OptGraphicsFullscreenButton) {
         profile = "GuiClearButtonProfileRight";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "181 142";
         extent = "195 24";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("Off");
         groupNum = "-1";
         buttonType = "PushButton";
      };
      new GuiBitmapButtonCtrl(OptApplyText) {
         profile = "GuiPaperButtonProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "212 161";
         extent = "183 52";
         minExtent = "8 2";
         visible = "1";
         command = "optionsDLG.applyGraphics();";
         alpha = "1";
         lockMouse = "0";
         bitmap = "./images/buttons/paperButton_normal.png";
         HighlightBitmap = "./images/buttons/paperButton_hover.png";
         PressedBitmap = "./images/buttons/paperButton_down.png";
         text = lookup("Apply");
            charaspect = "1";
            percentHeight = "50";
            fontBitmap = "./images/buttons/paperButton_font.png";
            wrap = "0";
            percentWidth = "100";
            charspacing = "1";
      };
      new GuiBitmapCtrl() {
         profile = "GuiTubeTwistTextDefaultProfile";
         horizSizing = "right";
         vertSizing = "bottom";
         position = "19 14";
         extent = "101 99";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         bitmap = "./images/videoIcon.png";
         wrap = "0";
      };
      new GuiButtonCtrl(OptGraphicsResolutionButton) {
         profile = "GuiClearButtonProfileRight";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "196 61";
         extent = "197 26";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = "800 600";
         groupNum = "-1";
         buttonType = "PushButton";
      };
      new GuiButtonCtrl(OP_GammaButton) {
         profile = "GuiClearButtonProfileRight";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "181 14";
         extent = "209 24";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("Medium");
         groupNum = "-1";
         buttonType = "PushButton";
      };
      new GuiButtonCtrl(OP_VSyncButton) {
         profile = "GuiClearButtonProfileRight";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "177 115";
         extent = "199 26";
         minExtent = "8 2";
         visible = "1";
         alpha = "1";
         text = lookup("On");
         groupNum = "-1";
         buttonType = "PushButton";
      };
   };
   new GuiBitmapCtrl(OP_BuyMe) {
      profile = "GuiDefaultProfile";
      horizSizing = "relative";
      vertSizing = "relative";
      position = "163 151";
      extent = "132 122";
      minExtent = "8 2";
      visible = "0";
      alpha = "1";
      bitmap = "./images/buyMe";
      wrap = "0";

      new GuiBitmapButtonCtrl(MJ_BuyMe_OkButton) {
         profile = "GuiPaperButtonProfile";
         horizSizing = "relative";
         vertSizing = "relative";
         position = "13 50";
         extent = "105 31";
         minExtent = "8 2";
         visible = "1";
         command = "MM_WhyBuy();";
         accelerator = "return";
         alpha = "1";
         lockMouse = "0";
         bitmap = "./images/buttons/paperButton_normal.png";
         HighlightBitmap = "./images/buttons/paperButton_hover.png";
         PressedBitmap = "./images/buttons/paperButton_down.png";
         text = lookup("BuyNow");
            charaspect = "1";
            percentHeight = "65";
            fontBitmap = "./images/buttons/paperButton_font.png";
            wrap = "0";
            percentWidth = "50";
            charspacing = "0.5";
      };
   };
};
//--- OBJECT WRITE END ---
