addModuleWindow.gui 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. //--- OBJECT WRITE BEGIN ---
  2. $guiContent = new GuiControl(AssetBrowser_AddModule) {
  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_addModuleWindow) {
  18. text = "Create New Module";
  19. resizeWidth = "1";
  20. resizeHeight = "1";
  21. canMove = "1";
  22. canClose = "0";
  23. canMinimize = "0";
  24. canMaximize = "0";
  25. canCollapse = "0";
  26. edgeSnap = "1";
  27. margin = "0 0 0 0";
  28. padding = "0 0 0 0";
  29. anchorTop = "1";
  30. anchorBottom = "0";
  31. anchorLeft = "1";
  32. anchorRight = "0";
  33. position = "362 334";
  34. extent = "299 99";
  35. minExtent = "48 92";
  36. horizSizing = "center";
  37. vertSizing = "center";
  38. profile = "ToolsGuiWindowProfile";
  39. visible = "1";
  40. active = "1";
  41. tooltipProfile = "ToolsGuiToolTipProfile";
  42. hovertime = "1000";
  43. isContainer = "1";
  44. hidden = "0";
  45. canSave = "1";
  46. canSaveDynamicFields = "0";
  47. new GuiTextEditCtrl() {
  48. historySize = "0";
  49. tabComplete = "0";
  50. sinkAllKeyEvents = "0";
  51. password = "0";
  52. passwordMask = "*";
  53. maxLength = "1024";
  54. margin = "0 0 0 0";
  55. padding = "0 0 0 0";
  56. anchorTop = "1";
  57. anchorBottom = "0";
  58. anchorLeft = "1";
  59. anchorRight = "0";
  60. position = "88 35";
  61. extent = "196 18";
  62. minExtent = "8 2";
  63. horizSizing = "right";
  64. vertSizing = "bottom";
  65. profile = "ToolsGuiTextEditProfile";
  66. visible = "1";
  67. active = "1";
  68. tooltipProfile = "ToolsGuiToolTipProfile";
  69. hovertime = "1000";
  70. isContainer = "0";
  71. internalName = "ModuleName";
  72. canSave = "1";
  73. canSaveDynamicFields = "0";
  74. };
  75. new GuiTextCtrl() {
  76. text = "Module Name";
  77. maxLength = "1024";
  78. margin = "0 0 0 0";
  79. padding = "0 0 0 0";
  80. anchorTop = "1";
  81. anchorBottom = "0";
  82. anchorLeft = "1";
  83. anchorRight = "0";
  84. position = "12 35";
  85. extent = "72 16";
  86. minExtent = "8 2";
  87. horizSizing = "right";
  88. vertSizing = "bottom";
  89. profile = "ToolsGuiTextProfile";
  90. visible = "1";
  91. active = "1";
  92. tooltipProfile = "ToolsGuiToolTipProfile";
  93. hovertime = "1000";
  94. isContainer = "0";
  95. canSave = "1";
  96. canSaveDynamicFields = "0";
  97. };
  98. new GuiButtonCtrl() {
  99. text = "Create";
  100. groupNum = "-1";
  101. buttonType = "PushButton";
  102. useMouseEvents = "0";
  103. position = "88 68";
  104. extent = "126 22";
  105. minExtent = "8 2";
  106. horizSizing = "right";
  107. vertSizing = "bottom";
  108. profile = "ToolsGuiButtonProfile";
  109. visible = "1";
  110. active = "1";
  111. command = "AssetBrowser_addModuleWindow.CreateNewModule();";
  112. tooltipProfile = "ToolsGuiToolTipProfile";
  113. hovertime = "1000";
  114. isContainer = "0";
  115. canSave = "1";
  116. canSaveDynamicFields = "0";
  117. };
  118. new GuiButtonCtrl() {
  119. text = "Cancel";
  120. groupNum = "-1";
  121. buttonType = "PushButton";
  122. useMouseEvents = "0";
  123. position = "220 68";
  124. extent = "64 22";
  125. minExtent = "8 2";
  126. horizSizing = "right";
  127. vertSizing = "bottom";
  128. profile = "ToolsGuiButtonProfile";
  129. visible = "1";
  130. active = "1";
  131. command = "AssetBrowser_addModuleWindow.Close();";
  132. tooltipProfile = "ToolsGuiToolTipProfile";
  133. hovertime = "1000";
  134. isContainer = "0";
  135. canSave = "1";
  136. canSaveDynamicFields = "0";
  137. };
  138. };
  139. };
  140. //--- OBJECT WRITE END ---