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

📄 editorgui.gui

📁 此为游戏源码 是很好 的学习工具阿
💻 GUI
📖 第 1 页 / 共 5 页
字号:
                  extent = "58 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "Roughness:";
                  maxLength = "255";
               };
               new GuiTextEditSliderCtrl(rmf_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 16";
                  increment = "1";
               };
               new GuiTextCtrl() {
                  profile = "GuiTextProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "90 111";
                  extent = "67 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "Random Seed";
                  maxLength = "255";
               };
               new GuiTextEditCtrl(rmf_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(rmf_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(rmf_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_Canyon) {
               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 = "118 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "Canyon Fractal Settings:";
                  maxLength = "255";
               };
               new GuiTextCtrl() {
                  profile = "GuiTextProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "124 61";
                  extent = "34 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "Chaos:";
                  maxLength = "255";
               };
               new GuiTextEditSliderCtrl(canyon_freq) {
                  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 = "4 10";
                  increment = "1";
               };
               new GuiTextCtrl() {
                  profile = "GuiTextProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "63 35";
                  extent = "95 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "Canyon Frequency:";
                  maxLength = "255";
               };
               new GuiButtonCtrl() {
                  profile = "GuiButtonProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "168 114";
                  extent = "73 20";
                  minExtent = "8 8";
                  visible = "1";
                  command = "canyon_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 = "88 89";
                  extent = "70 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "Random Seed:";
                  maxLength = "255";
               };
               new GuiTextEditCtrl(canyon_seed) {
                  profile = "GuiTextEditProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "166 89";
                  extent = "78 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "0";
                  maxLength = "255";
                  historySize = "5";
                  password = "0";
                  tabComplete = "0";
               };
               new GuiTextEditSliderCtrl(canyon_factor) {
                  profile = "GuiTextEditProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "166 62";
                  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 GuiControl(tab_Smooth) {
               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 = "95 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "Smoothing Settings:";
                  maxLength = "255";
               };
               new GuiTextCtrl() {
                  profile = "GuiTextProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "79 64";
                  extent = "77 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "Agressiveness:";
                  maxLength = "255";
               };
               new GuiTextEditSliderCtrl(smooth_iter) {
                  profile = "GuiTextEditProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "166 35";
                  extent = "78 18";
                  minExtent = "8 8";
                  visible = "1";
                  command = "Heightfield::saveTab($selectedOperation);Heightfield::preview($selectedOperation);";
                  helpTag = "0";
                  maxLength = "255";
                  historySize = "0";
                  password = "0";
                  tabComplete = "0";
                  format = "%1.0f";
                  range = "0 40";
                  increment = "1";
               };
               new GuiTextCtrl() {
                  profile = "GuiTextProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "109 36";
                  extent = "47 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "Iterations:";
                  maxLength = "255";
               };
               new GuiTextEditSliderCtrl(smooth_factor) {
                  profile = "GuiTextEditProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "166 63";
                  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 GuiControl(tab_SmoothWater) {
               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 = "154 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "Water Area Smoothing Settings:";
                  maxLength = "255";
               };
               new GuiTextCtrl() {
                  profile = "GuiTextProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "79 64";
                  extent = "77 18";
                  minExtent = "8 8";
                  visible = "1";
                  helpTag = "0";
                  text = "Agressiveness:";
                  maxLength = "255";
               };
               new GuiTextEditSliderCtrl(watersmooth_iter) {
                  profile = "GuiTextEditProfile";
                  horizSizing = "right";
                  vertSizing = "bottom";
                  position = "166 35";
                  extent = "78 18";
                  minExtent = "8 8";
                  visible = "1";
                  command = "Heightfield::saveTab($selectedOperation);Heightfield::preview($selectedOperation);";
                  helpTag = "0";
                  maxLength = "255";
                  historySize = "0";
                  password = "0";
                  tabComplete = "0";
                  format = "%1.0f";
                  range = "0 40";

⌨️ 快捷键说明

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