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

📄 terraineditorvsettingsgui.gui

📁 此为游戏源码 是很好 的学习工具阿
💻 GUI
字号:
//--- OBJECT WRITE BEGIN ---
new GuiControl(TerrainEditorValuesSettingsGui) {
   profile = "GuiDefaultProfile";
   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 = "117 113";
      extent = "408 247";
      minExtent = "8 8";
      visible = "1";
      helpTag = "0";
      text = "Terrain Action Values";
      maxLength = "255";
      resizeWidth = "0";
      resizeHeight = "0";
      canMove = "1";
      canClose = "0";
      canMinimize = "0";
      canMaximize = "0";
      minSize = "50 50";
      closeCommand = "Canvas.popDIalog(TerrainEditorValuesSettingsGui);";

      new GuiControl() {
         profile = "GuiWindowProfile";
         horizSizing = "right";
         vertSizing = "bottom";
         position = "198 27";
         extent = "203 115";
         minExtent = "8 8";
         visible = "1";
         helpTag = "0";

         new GuiTextEditCtrl() {
            profile = "GuiTextEditProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "86 12";
            extent = "107 18";
            minExtent = "8 8";
            visible = "1";
            variable = "ETerrainEditor.adjustHeightVal";
            command = "ETerrainEditor.adjustHeightVal = $ThisControl.getValue();";
            helpTag = "0";
            maxLength = "255";
            historySize = "0";
            password = "0";
            tabComplete = "0";
         };
         new GuiTextEditCtrl() {
            profile = "GuiTextEditProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "86 37";
            extent = "107 18";
            minExtent = "8 8";
            visible = "1";
            variable = "ETerrainEditor.setHeightVal";
            command = "ETerrainEditor.setHeightVal = $ThisControl.getValue();";
            helpTag = "0";
            maxLength = "255";
            historySize = "0";
            password = "0";
            tabComplete = "0";
         };
         new GuiTextEditCtrl() {
            profile = "GuiTextEditProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "86 62";
            extent = "107 18";
            minExtent = "8 8";
            visible = "1";
            variable = "ETerrainEditor.scaleVal";
            command = "ETerrainEditor.scaleVal = $ThisControl.getValue();";
            helpTag = "0";
            maxLength = "255";
            historySize = "0";
            password = "0";
            tabComplete = "0";
         };
         new GuiTextEditCtrl() {
            profile = "GuiTextEditProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "86 87";
            extent = "107 18";
            minExtent = "8 8";
            visible = "1";
            variable = "ETerrainEditor.smoothFactor";
            command = "ETerrainEditor.smoothFactor = $ThisControl.getValue();";
            helpTag = "0";
            maxLength = "255";
            historySize = "0";
            password = "0";
            tabComplete = "0";
         };
         new GuiTextCtrl() {
            profile = "GuiTextProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "11 12";
            extent = "64 18";
            minExtent = "8 8";
            visible = "1";
            helpTag = "0";
            text = "Adjust Height";
            maxLength = "255";
         };
         new GuiTextCtrl() {
            profile = "GuiTextProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "11 37";
            extent = "49 18";
            minExtent = "8 8";
            visible = "1";
            helpTag = "0";
            text = "Set Height";
            maxLength = "255";
         };
         new GuiTextCtrl() {
            profile = "GuiTextProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "11 62";
            extent = "60 18";
            minExtent = "8 8";
            visible = "1";
            helpTag = "0";
            text = "Scale Height";
            maxLength = "255";
         };
         new GuiTextCtrl() {
            profile = "GuiTextProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "10 87";
            extent = "70 18";
            minExtent = "8 8";
            visible = "1";
            helpTag = "0";
            text = "Smooth Factor";
            maxLength = "255";
         };
      };
      new GuiButtonCtrl() {
         profile = "GuiButtonProfile";
         horizSizing = "right";
         vertSizing = "bottom";
         position = "218 205";
         extent = "80 20";
         minExtent = "8 8";
         visible = "1";
         command = "Canvas.popDIalog(TerrainEditorValuesSettingsGui);";
         helpTag = "0";
         text = "OK";
         groupNum = "-1";
         buttonType = "PushButton";
      };
      new GuiControl() {
         profile = "GuiWindowProfile";
         horizSizing = "right";
         vertSizing = "bottom";
         position = "7 27";
         extent = "188 212";
         minExtent = "8 8";
         visible = "1";
         helpTag = "0";

         new GuiFilterCtrl(TESoftSelectFilter) {
            profile = "GuiDefaultProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "20 22";
            extent = "155 162";
            minExtent = "8 8";
            visible = "1";
            helpTag = "0";
            controlPoints = "7";
            filter = "1.000000 0.833333 0.666667 0.500000 0.333333 0.166667 0.000000";
         };
         new GuiTextCtrl() {
            profile = "GuiTextProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "6 4";
            extent = "67 18";
            minExtent = "8 8";
            visible = "1";
            helpTag = "0";
            text = "Soft Selection";
            maxLength = "255";
         };
         new GuiTextCtrl() {
            profile = "GuiTextProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "12 189";
            extent = "8 18";
            minExtent = "8 8";
            visible = "1";
            helpTag = "0";
            text = "0";
            maxLength = "255";
         };
         new GuiTextCtrl() {
            profile = "GuiTextProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "12 26";
            extent = "8 18";
            minExtent = "8 8";
            visible = "1";
            helpTag = "0";
            text = "1";
            maxLength = "255";
         };
         new GuiTextCtrl() {
            profile = "GuiTextProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "60 190";
            extent = "45 18";
            minExtent = "8 8";
            visible = "1";
            helpTag = "0";
            text = "<Radius>";
            maxLength = "255";
         };
         new GuiTextEditCtrl() {
            profile = "GuiTextEditProfile";
            horizSizing = "right";
            vertSizing = "bottom";
            position = "125 187";
            extent = "50 18";
            minExtent = "8 8";
            visible = "1";
            variable = "ETerrainEditor.softSelectRadius";
            command = "ETerrainEditor.softSelectRadius = $ThisControl.getValue();";
            helpTag = "0";
            maxLength = "255";
            historySize = "0";
            password = "0";
            tabComplete = "0";
         };
      };
      new GuiButtonCtrl(TESettingsApplyButton) {
         profile = "GuiButtonProfile";
         horizSizing = "right";
         vertSizing = "bottom";
         position = "307 205";
         extent = "80 20";
         minExtent = "8 8";
         visible = "1";
         helpTag = "0";
         text = "Apply";
         groupNum = "-1";
         buttonType = "PushButton";
      };
   };
};
//--- OBJECT WRITE END ---

⌨️ 快捷键说明

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