editModule.gui 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. //--- OBJECT WRITE BEGIN ---
  2. $guiContent = new GuiControl(AssetBrowser_editModule) {
  3. position = "0 0";
  4. extent = "1024 768";
  5. minExtent = "8 2";
  6. horizSizing = "right";
  7. vertSizing = "bottom";
  8. profile = "ToolsGuiDefaultNonModalProfile";
  9. visible = "1";
  10. active = "1";
  11. tooltipProfile = "GuiToolTipProfile";
  12. hovertime = "1000";
  13. isContainer = "1";
  14. canSave = "1";
  15. canSaveDynamicFields = "1";
  16. Enabled = "1";
  17. new GuiWindowCtrl(AssetBrowser_editModuleWindow) {
  18. text = "Module Properties";
  19. resizeWidth = "1";
  20. resizeHeight = "1";
  21. canMove = "1";
  22. canClose = "1";
  23. canMinimize = "1";
  24. canMaximize = "0";
  25. canCollapse = "0";
  26. closeCommand = "Canvas.popDialog(AssetBrowser_editModule);";
  27. edgeSnap = "1";
  28. margin = "0 0 0 0";
  29. padding = "0 0 0 0";
  30. anchorTop = "1";
  31. anchorBottom = "0";
  32. anchorLeft = "1";
  33. anchorRight = "0";
  34. position = "262 219";
  35. extent = "500 329";
  36. minExtent = "48 92";
  37. horizSizing = "center";
  38. vertSizing = "center";
  39. profile = "ToolsGuiWindowProfile";
  40. visible = "1";
  41. active = "1";
  42. tooltipProfile = "ToolsGuiToolTipProfile";
  43. hovertime = "1000";
  44. isContainer = "1";
  45. canSave = "1";
  46. canSaveDynamicFields = "0";
  47. new GuiScrollCtrl() {
  48. willFirstRespond = "1";
  49. hScrollBar = "alwaysOff";
  50. vScrollBar = "dynamic";
  51. lockHorizScroll = "0";
  52. lockVertScroll = "0";
  53. constantThumbHeight = "0";
  54. childMargin = "0 0";
  55. mouseWheelScrollSpeed = "-1";
  56. margin = "0 0 0 0";
  57. padding = "0 0 0 0";
  58. anchorTop = "1";
  59. anchorBottom = "0";
  60. anchorLeft = "1";
  61. anchorRight = "0";
  62. position = "1 21";
  63. extent = "498 283";
  64. minExtent = "8 2";
  65. horizSizing = "width";
  66. vertSizing = "height";
  67. profile = "ToolsGuiScrollProfile";
  68. visible = "1";
  69. active = "1";
  70. tooltipProfile = "GuiToolTipProfile";
  71. hovertime = "1000";
  72. isContainer = "1";
  73. canSave = "1";
  74. canSaveDynamicFields = "0";
  75. new GuiVariableInspector(ModuleEditInspector) {
  76. dividerMargin = "5";
  77. showCustomFields = "1";
  78. stackingType = "Vertical";
  79. horizStacking = "Left to Right";
  80. vertStacking = "Top to Bottom";
  81. padding = "1";
  82. dynamicSize = "1";
  83. dynamicNonStackExtent = "0";
  84. dynamicPos = "0";
  85. changeChildSizeToFit = "1";
  86. changeChildPosition = "1";
  87. position = "1 1";
  88. extent = "481 101";
  89. minExtent = "16 16";
  90. horizSizing = "width";
  91. vertSizing = "height";
  92. profile = "GuiInspectorProfile";
  93. visible = "1";
  94. active = "1";
  95. tooltipProfile = "GuiToolTipProfile";
  96. hovertime = "1000";
  97. isContainer = "1";
  98. canSave = "1";
  99. canSaveDynamicFields = "0";
  100. };
  101. };
  102. new GuiButtonCtrl() {
  103. text = "Save";
  104. groupNum = "-1";
  105. buttonType = "PushButton";
  106. useMouseEvents = "0";
  107. position = "402 305";
  108. extent = "45 22";
  109. minExtent = "8 2";
  110. horizSizing = "left";
  111. vertSizing = "top";
  112. profile = "ToolsGuiButtonProfile";
  113. visible = "1";
  114. active = "1";
  115. command = "AssetBrowser_editModule.saveModule();";
  116. tooltipProfile = "GuiToolTipProfile";
  117. hovertime = "1000";
  118. isContainer = "0";
  119. canSave = "1";
  120. canSaveDynamicFields = "0";
  121. };
  122. new GuiButtonCtrl() {
  123. text = "Cancel";
  124. groupNum = "-1";
  125. buttonType = "PushButton";
  126. useMouseEvents = "0";
  127. position = "450 305";
  128. extent = "45 22";
  129. minExtent = "8 2";
  130. horizSizing = "left";
  131. vertSizing = "top";
  132. profile = "ToolsGuiButtonProfile";
  133. visible = "1";
  134. active = "1";
  135. command = "Canvas.popDialog(AssetBrowser_editModule);";
  136. tooltipProfile = "GuiToolTipProfile";
  137. hovertime = "1000";
  138. isContainer = "0";
  139. canSave = "1";
  140. canSaveDynamicFields = "0";
  141. };
  142. };
  143. };
  144. //--- OBJECT WRITE END ---