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

📄 editorgui.gui

📁 此为游戏源码 是很好 的学习工具阿
💻 GUI
📖 第 1 页 / 共 5 页
字号:
               profile = "GuiDefaultProfile";
               horizSizing = "width";
               vertSizing = "height";
               position = "0 0";
               extent = "270 137";
               minExtent = "8 8";
               visible = "1";
               helpTag = "0";

               new GuiControl() {
                  profile = "EditorScrollProfile";
                  horizSizing = "width";
                  vertSizing = "bottom";
                  position = "0 0";
                  extent = "270 24";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";

                  new GuiButtonCtrl() {
                     profile = "GuiButtonProfile";
                     horizSizing = "right";
                     vertSizing = "bottom";
                     position = "2 2";
                     extent = "40 20";
                     minExtent = "8 8";
                     visible = "1";
                     command = "EWorldEditor.isDirty = true;inspector.apply(InspectorNameEdit.getValue());";
                     helpTag = "0";
                     text = "Apply";
                     groupNum = "-1";
                     buttonType = "PushButton";
                  };
                  new GuiTextEditCtrl(InspectorNameEdit) {
                     profile = "GuiTextEditProfile";
                     horizSizing = "width";
                     vertSizing = "bottom";
                     position = "44 2";
                     extent = "160 18";
                     minExtent = "8 8";
                     visible = "1";
                     helpTag = "0";
                     maxLength = "255";
                     historySize = "0";
                     password = "0";
                     tabComplete = "0";
                  };
               };
               new GuiScrollCtrl() {
                  profile = "EditorScrollProfile";
                  horizSizing = "width";
                  vertSizing = "height";
                  position = "0 24";
                  extent = "270 113";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  willFirstRespond = "1";
                  hScrollBar = "dynamic";
                  vScrollBar = "alwaysOn";
                  constantThumbHeight = "0";
                  childMargin = "0 0";

                  new GuiInspector(Inspector) {
                     profile = "GuiDefaultProfile";
                     horizSizing = "width";
                     vertSizing = "bottom";
                     position = "2 2";
                     extent = "248 74";
                     minExtent = "8 8";
                     visible = "1";
                     helpTag = "0";
                     editControlOffset = "5";
                     entryHeight = "16";
                     textExtent = "80";
                     entrySpacing = "2";
                     maxMenuExtent = "80";
                  };
               };
            };
         };
      };
   };
   new TerrainEditor(ETerrainEditor) {
      profile = "MissionEditorProfile";
      horizSizing = "width";
      vertSizing = "height";
      position = "0 22";
      extent = "640 458";
      minExtent = "8 8";
      visible = "1";
      helpTag = "0";
      renderMissionArea = "1";
      missionAreaFillColor = "255 0 0 20";
      missionAreaFrameColor = "255 0 0 128";
      consoleFrameColor = "255 0 0 255";
      consoleFillColor = "0 0 0 0";
      consoleSphereLevel = "1";
      consoleCircleSegments = "32";
      consoleLineWidth = "1";
      isDirty = "1";
      renderBorder = "1";
      borderHeight = "10";
      borderFillColor = "0 255 0 20";
      borderFrameColor = "0 255 0 128";
      borderLineMode = "0";
      selectionHidden = "1";
      enableSoftBrushes = "1";
      renderVertexSelection = "1";
      processUsesBrush = "0";
      adjustHeightVal = "10";
      setHeightVal = "100";
      scaleVal = "1";
      smoothFactor = "0.1";
      materialGroup = "0";
      softSelectRadius = "50";
      softSelectFilter = "1.000000 0.833333 0.666667 0.500000 0.333333 0.166667 0.000000";
      softSelectDefaultFilter = "1.000000 0.833333 0.666667 0.500000 0.333333 0.166667 0.000000";
      adjustHeightMouseScale = "0.1";
         currentMode = "paint";
         softSelecting = "1";
         brushSize = "9";
         currentAction = "brushAdjustHeight";

      new GuiControl(EHeightField) {
         profile = "GuiModelessDialogProfile";
         horizSizing = "width";
         vertSizing = "height";
         position = "0 0";
         extent = "640 458";
         minExtent = "8 8";
         visible = "1";
         helpTag = "0";

         new GuiControl(HeightfieldTabParent) {
            profile = "EditorScrollProfile";
            horizSizing = "left";
            vertSizing = "height";
            position = "370 0";
            extent = "270 458";
            minExtent = "8 8";
            visible = "1";
            helpTag = "0";
               hScrollBar = "alwaysOff";
               vScrollBar = "alwaysOff";
               constantThumbHeight = "1";
               willFirstRespond = "1";

            new GuiControl(tab_fBm) {
               profile = "GuiDefaultProfile";
               horizSizing = "right";
               vertSizing = "bottom";
               position = "0 0";
               extent = "261 198";
               minExtent = "8 8";
               visible = "0";
               helpTag = "0";

               new GuiTextCtrl() {
                  profile = "GuiTextProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "6 6";
                  extent = "100 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "fBm Fractal Settings:";
                  maxLength = "255";
               };
               new GuiTextCtrl() {
                  profile = "GuiTextProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "86 35";
                  extent = "71 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "Hill Frequency:";
                  maxLength = "255";
               };
               new GuiTextEditSliderCtrl(fbm_interval) {
                  profile = "GuiTextEditProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "166 35";
                  extent = "78 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  maxLength = "255";
                  historySize = "0";
                  password = "0";
                  tabComplete = "0";
                  format = "%1.0f";
                  range = "1 24";
                  increment = "1";
               };
               new GuiTextCtrl() {
                  profile = "GuiTextProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "99 60";
                  extent = "58 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "Roughness:";
                  maxLength = "255";
               };
               new GuiButtonCtrl() {
                  profile = "GuiButtonProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "166 136";
                  extent = "77 20";
                  minExtent = "8 8";
                  visible = "1";
                  command = "fBm_seed.setValue(terraFormer.generateSeed());Heightfield::saveTab();Heightfield::preview($selectedOperation);";
                  helpTag = "0";
                  text = "New Seed";
                  groupNum = "-1";
                  buttonType = "PushButton";
               };
               new GuiTextCtrl() {
                  profile = "GuiTextProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "87 110";
                  extent = "70 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "Random Seed:";
                  maxLength = "255";
               };
               new GuiTextEditCtrl(fBm_seed) {
                  profile = "GuiTextEditProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "166 110";
                  extent = "78 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "0";
                  maxLength = "255";
                  historySize = "5";
                  password = "0";
                  tabComplete = "0";
               };
               new GuiTextEditSliderCtrl(fbm_rough) {
                  profile = "GuiTextEditProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "166 60";
                  extent = "78 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  maxLength = "255";
                  historySize = "0";
                  password = "0";
                  tabComplete = "0";
                  format = "%0.3f";
                  range = "0 1";
                  increment = "0.001";
               };
               new GuiTextCtrl() {
                  profile = "GuiTextProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "128 85";
                  extent = "29 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "Detail:";
                  maxLength = "255";
               };
               new GuiPopUpMenuCtrl(fbm_detail) {
                  profile = "GuiPopUpMenuProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "166 85";
                  extent = "78 18";
                  minExtent = "8 8";
                  visible = "1";
                  command = "Heightfield::saveTab();Heightfield::preview($selectedOperation);";
                  helpTag = "0";
                  maxLength = "255";
                  maxPopupHeight = "200";
               };
            };
            new GuiControl(tab_RMF) {
               profile = "GuiDefaultProfile";
               horizSizing = "right";
               vertSizing = "bottom";
               position = "0 0";
               extent = "261 198";
               minExtent = "8 8";
               visible = "0";
               helpTag = "0";

               new GuiTextCtrl() {
                  profile = "GuiTextProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "6 6";
                  extent = "125 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "Rigid MultiFractal Settings:";
                  maxLength = "255";
               };
               new GuiTextCtrl() {
                  profile = "GuiTextProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "87 35";
                  extent = "71 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "Hill Frequency:";
                  maxLength = "255";
               };
               new GuiButtonCtrl() {
                  profile = "GuiButtonProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "168 137";
                  extent = "73 20";
                  minExtent = "8 8";
                  visible = "1";
                  command = "rmf_seed.setValue(terraFormer.generateSeed());Heightfield::saveTab();Heightfield::preview($selectedOperation);";
                  helpTag = "0";
                  text = "New Seed";
                  groupNum = "-1";
                  buttonType = "PushButton";
               };
               new GuiTextCtrl() {
                  profile = "GuiTextProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "101 60";

⌨️ 快捷键说明

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