⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 worldeditorsettingsdlg.gui

📁 此为游戏源码 是很好 的学习工具阿
💻 GUI
📖 第 1 页 / 共 2 页
字号:
//--- OBJECT WRITE BEGIN ---
new GuiControl(WorldEditorSettingsDlg) {
   profile = "GuiModelessDialogProfile";
   horizSizing = "right";
   vertSizing = "bottom";
   position = "0 0";
   extent = "640 480";
   minExtent = "8 8";
   visible = "1";
   helpTag = "0";

   new GuiWindowCtrl() {
      profile = "GuiWindowProfile";
      horizSizing = "center";
      vertSizing = "center";
      position = "90 55";
      extent = "459 370";
      minExtent = "8 8";
      visible = "1";
      helpTag = "0";
      text = "WorldEditor Settings";
      maxLength = "255";
      resizeWidth = "0";
      resizeHeight = "0";
      canMove = "1";
      canClose = "0";
      canMinimize = "0";
      canMaximize = "0";
      minSize = "50 50";
      closeCommand = "Canvas.popDialog(WorldEditorSettingsDlg);";

      new GuiButtonCtrl() {
         profile = "GuiButtonProfile";
         horizSizing = "right";
         vertSizing = "bottom";
         position = "369 343";
         extent = "80 20";
         minExtent = "8 8";
         visible = "1";
         command = "Canvas.popDialog(WorldEditorSettingsDlg);";
         helpTag = "0";
         text = "OK";
         groupNum = "-1";
         buttonType = "PushButton";
      };
      new GuiControl(WESettingsGeneralTab) {
         profile = "GuiWindowProfile";
         horizSizing = "right";
         vertSizing = "bottom";
         position = "231 27";
         extent = "220 210";
         minExtent = "8 8";
         visible = "1";
         helpTag = "0";

         new GuiCheckBoxCtrl() {
            profile = "GuiCheckBoxProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "10 10";
            extent = "200 24";
            minExtent = "8 8";
            visible = "1";
            variable = "EWorldEditor.planarMovement";
            command = "EWorldEditor.planarMovement = $ThisControl.getValue();";
            helpTag = "0";
            text = "Planar Movement";
            groupNum = "-1";
            buttonType = "ToggleButton";
         };
         new GuiCheckBoxCtrl() {
            profile = "GuiCheckBoxProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "10 36";
            extent = "200 24";
            minExtent = "8 8";
            visible = "1";
            variable = "EWorldEditor.boundingBoxCollision";
            command = "EWorldEditor.boundingBoxCollision = $ThisControl.getValue();";
            helpTag = "0";
            text = "Collide With Object\'s Bounding Box";
            groupNum = "-1";
            buttonType = "ToggleButton";
         };
         new GuiCheckBoxCtrl() {
            profile = "GuiCheckBoxProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "10 88";
            extent = "200 24";
            minExtent = "8 8";
            visible = "1";
            variable = "EWorldEditor.axisGizmoActive";
            command = "EWorldEditor.axisGizmoActive = $ThisControl.getValue();";
            helpTag = "0";
            text = "Axis Gizmo Active";
            groupNum = "-1";
            buttonType = "ToggleButton";
         };
         new GuiCheckBoxCtrl() {
            profile = "GuiCheckBoxProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "10 62";
            extent = "200 24";
            minExtent = "8 8";
            visible = "1";
            variable = "EWorldEditor.objectsUseBoxCenter";
            command = "EWorldEditor.objectsUseBoxCenter = $ThisControl.getValue();";
            helpTag = "0";
            text = "Objects Use Box Center";
            groupNum = "-1";
            buttonType = "ToggleButton";
         };
         new GuiTextCtrl() {
            profile = "GuiTextProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "13 123";
            extent = "83 18";
            minExtent = "8 8";
            visible = "1";
            helpTag = "0";
            text = "Min Scale Factor:";
            maxLength = "255";
         };
         new GuiTextCtrl() {
            profile = "GuiTextProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "13 146";
            extent = "83 18";
            minExtent = "8 8";
            visible = "1";
            helpTag = "0";
            text = "Min Scale Factor:";
            maxLength = "255";
         };
         new GuiTextEditCtrl() {
            profile = "GuiTextEditProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "104 123";
            extent = "107 18";
            minExtent = "8 8";
            visible = "1";
            variable = "EWorldEditor.minScaleFactor";
            command = "EWorldEditor.minScaleFactor = $ThisControl.getValue();";
            helpTag = "0";
            maxLength = "255";
            historySize = "0";
            password = "0";
            tabComplete = "0";
            sinkAllKeyEvents = "0";
         };
         new GuiTextEditCtrl() {
            profile = "GuiTextEditProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "104 146";
            extent = "107 18";
            minExtent = "8 8";
            visible = "1";
            variable = "EWorldEditor.maxScaleFactor";
            command = "EWorldEditor.maxScaleFactor = $ThisControl.getValue();";
            helpTag = "0";
            maxLength = "255";
            historySize = "0";
            password = "0";
            tabComplete = "0";
            sinkAllKeyEvents = "0";
         };
         new GuiTextCtrl() {
            profile = "GuiTextProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "13 178";
            extent = "80 18";
            minExtent = "8 8";
            visible = "1";
            helpTag = "0";
            text = "Visible Distance:";
            maxLength = "255";
         };
         new GuiTextEditCtrl() {
            profile = "GuiTextEditProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "104 178";
            extent = "107 18";
            minExtent = "8 8";
            visible = "1";
            variable = "pref::Editor::visibleDistance";
            command = "$pref::Editor::visibleDistance = $ThisControl.getValue();";
            helpTag = "0";
            maxLength = "255";
            historySize = "0";
            password = "0";
            tabComplete = "0";
            sinkAllKeyEvents = "0";
         };
      };
      new GuiControl(WESettingsDisplayTab) {
         profile = "GuiWindowProfile";
         horizSizing = "right";
         vertSizing = "bottom";
         position = "7 27";
         extent = "220 210";
         minExtent = "8 8";
         visible = "1";
         helpTag = "0";

         new GuiCheckBoxCtrl() {
            profile = "GuiCheckBoxProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "10 10";
            extent = "200 24";
            minExtent = "8 8";
            visible = "1";
            variable = "EWorldEditor.renderPlane";
            command = "EWorldEditor.renderPlane = $ThisControl.getValue();";
            helpTag = "0";
            text = "Render Plane";
            groupNum = "-1";
            buttonType = "ToggleButton";
         };
         new GuiCheckBoxCtrl() {
            profile = "GuiCheckBoxProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "10 37";
            extent = "200 24";
            minExtent = "8 8";
            visible = "1";
            variable = "EWorldEditor.renderPlaneHashes";
            command = "EWorldEditor.renderPlaneHashes = $ThisControl.getValue();";
            helpTag = "0";
            text = "Render Plane Hashes";
            groupNum = "-1";
            buttonType = "ToggleButton";
         };
         new GuiCheckBoxCtrl() {
            profile = "GuiCheckBoxProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "10 64";
            extent = "200 24";
            minExtent = "8 8";
            visible = "1";
            variable = "EWorldEditor.renderObjText";
            command = "EWorldEditor.renderObjText = $ThisControl.getValue();";
            helpTag = "0";
            text = "Render Object Text";
            groupNum = "-1";
            buttonType = "ToggleButton";
         };
         new GuiCheckBoxCtrl() {
            profile = "GuiCheckBoxProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "10 119";
            extent = "200 24";
            minExtent = "8 8";
            visible = "1";
            variable = "EWorldEditor.renderSelectionBox";
            command = "EWorldEditor.renderSelectionBox = $ThisControl.getValue();";
            helpTag = "0";
            text = "Render Selection Box";
            groupNum = "-1";
            buttonType = "ToggleButton";
         };
         new GuiTextEditCtrl() {
            profile = "GuiTextEditProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "93 151";
            extent = "107 18";
            minExtent = "8 8";
            visible = "1";
            variable = "EWorldEditor.planeDim";
            command = "EWorldEditor.planeDim = $ThisControl.getValue();";
            helpTag = "0";
            maxLength = "255";
            historySize = "0";
            password = "0";
            tabComplete = "0";
            sinkAllKeyEvents = "0";
         };
         new GuiTextCtrl() {
            profile = "GuiTextProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "18 151";
            extent = "59 18";
            minExtent = "8 8";
            visible = "1";
            helpTag = "0";
            text = "Plane Extent";
            maxLength = "255";
         };
         new GuiTextCtrl() {
            profile = "GuiTextProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "18 175";
            extent = "44 18";
            minExtent = "8 8";
            visible = "1";
            helpTag = "0";
            text = "Grid Size";
            maxLength = "255";
         };
         new GuiTextEditCtrl() {
            profile = "GuiTextEditProfile";
            horizSizing = "right";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -