DatablockEditorCreatePrompt.ed.gui 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. //--- OBJECT WRITE BEGIN ---
  2. %guiContent = new GuiControl(DatablockEditorCreatePrompt,EditorGuiGroup) {
  3. position = "0 0";
  4. extent = "1024 768";
  5. minExtent = "8 2";
  6. horizSizing = "right";
  7. vertSizing = "bottom";
  8. fixedAspectRatio = "0";
  9. profile = "ToolsGuiDefaultProfile";
  10. visible = "1";
  11. active = "1";
  12. tooltipProfile = "ToolsGuiToolTipProfile";
  13. hovertime = "1000";
  14. isContainer = "1";
  15. canSave = "1";
  16. canSaveDynamicFields = "1";
  17. new GuiWindowCtrl() {
  18. text = "Create New Datablock";
  19. resizeWidth = "0";
  20. resizeHeight = "0";
  21. canMove = "0";
  22. canClose = "1";
  23. canMinimize = "0";
  24. canMaximize = "0";
  25. canCollapse = "0";
  26. closeCommand = "canvas.popDialog(DatablockEditorCreatePrompt);";
  27. edgeSnap = "0";
  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 = "389 252";
  35. extent = "207 167";
  36. minExtent = "8 2";
  37. horizSizing = "right";
  38. vertSizing = "bottom";
  39. fixedAspectRatio = "0";
  40. profile = "ToolsGuiWindowProfile";
  41. visible = "1";
  42. active = "1";
  43. tooltipProfile = "ToolsGuiToolTipProfile";
  44. hovertime = "1000";
  45. isContainer = "1";
  46. canSave = "1";
  47. canSaveDynamicFields = "0";
  48. new GuiTextCtrl() {
  49. text = "Your new datablock must have a name";
  50. maxLength = "1024";
  51. margin = "0 0 0 0";
  52. padding = "0 0 0 0";
  53. anchorTop = "1";
  54. anchorBottom = "0";
  55. anchorLeft = "1";
  56. anchorRight = "0";
  57. position = "7 26";
  58. extent = "190 15";
  59. minExtent = "8 2";
  60. horizSizing = "right";
  61. vertSizing = "bottom";
  62. fixedAspectRatio = "0";
  63. profile = "ToolsGuiTextProfile";
  64. visible = "1";
  65. active = "1";
  66. tooltipProfile = "ToolsGuiToolTipProfile";
  67. hovertime = "1000";
  68. isContainer = "0";
  69. canSave = "1";
  70. canSaveDynamicFields = "0";
  71. };
  72. new GuiTextEditCtrl() {
  73. historySize = "0";
  74. tabComplete = "0";
  75. sinkAllKeyEvents = "0";
  76. password = "0";
  77. passwordMask = "*";
  78. text = "Name";
  79. maxLength = "1024";
  80. margin = "0 0 0 0";
  81. padding = "0 0 0 0";
  82. anchorTop = "1";
  83. anchorBottom = "0";
  84. anchorLeft = "1";
  85. anchorRight = "0";
  86. position = "7 45";
  87. extent = "191 17";
  88. minExtent = "8 2";
  89. horizSizing = "right";
  90. vertSizing = "bottom";
  91. fixedAspectRatio = "0";
  92. profile = "ToolsGuiTextEditProfile";
  93. visible = "1";
  94. active = "1";
  95. tooltipProfile = "ToolsGuiToolTipProfile";
  96. hovertime = "1000";
  97. isContainer = "0";
  98. internalName = "CreateDatablockName";
  99. canSave = "1";
  100. canSaveDynamicFields = "0";
  101. };
  102. new GuiButtonCtrl() {
  103. text = "Create";
  104. groupNum = "-1";
  105. buttonType = "PushButton";
  106. useMouseEvents = "0";
  107. position = "7 137";
  108. extent = "122 22";
  109. minExtent = "8 2";
  110. horizSizing = "right";
  111. vertSizing = "bottom";
  112. fixedAspectRatio = "0";
  113. profile = "ToolsGuiButtonProfile";
  114. visible = "1";
  115. active = "1";
  116. command = "DatablockEditorPlugin.createPromptNameCheck();";
  117. accelerator = "return";
  118. tooltipProfile = "ToolsGuiToolTipProfile";
  119. hovertime = "1000";
  120. isContainer = "0";
  121. canSave = "1";
  122. canSaveDynamicFields = "0";
  123. };
  124. new GuiButtonCtrl() {
  125. text = "Cancel";
  126. groupNum = "-1";
  127. buttonType = "PushButton";
  128. useMouseEvents = "0";
  129. position = "135 137";
  130. extent = "63 22";
  131. minExtent = "8 2";
  132. horizSizing = "right";
  133. vertSizing = "bottom";
  134. fixedAspectRatio = "0";
  135. profile = "ToolsGuiButtonProfile";
  136. visible = "1";
  137. active = "1";
  138. command = "canvas.popDialog(DatablockEditorCreatePrompt);";
  139. accelerator = "escape";
  140. tooltipProfile = "ToolsGuiToolTipProfile";
  141. hovertime = "1000";
  142. isContainer = "0";
  143. canSave = "1";
  144. canSaveDynamicFields = "0";
  145. };
  146. new GuiTextCtrl() {
  147. text = "Copy values from";
  148. maxLength = "1024";
  149. margin = "0 0 0 0";
  150. padding = "0 0 0 0";
  151. anchorTop = "1";
  152. anchorBottom = "0";
  153. anchorLeft = "1";
  154. anchorRight = "0";
  155. position = "7 66";
  156. extent = "100 17";
  157. minExtent = "8 2";
  158. horizSizing = "right";
  159. vertSizing = "bottom";
  160. fixedAspectRatio = "0";
  161. profile = "ToolsGuiTextProfile";
  162. visible = "1";
  163. active = "1";
  164. tooltipProfile = "ToolsGuiToolTipProfile";
  165. hovertime = "1000";
  166. isContainer = "0";
  167. canSave = "1";
  168. canSaveDynamicFields = "0";
  169. };
  170. new GuiPopUpMenuCtrl() {
  171. maxPopupHeight = "200";
  172. sbUsesNAColor = "0";
  173. reverseTextList = "0";
  174. bitmapBounds = "16 16";
  175. maxLength = "1024";
  176. margin = "0 0 0 0";
  177. padding = "0 0 0 0";
  178. anchorTop = "1";
  179. anchorBottom = "0";
  180. anchorLeft = "1";
  181. anchorRight = "0";
  182. position = "7 87";
  183. extent = "191 19";
  184. minExtent = "8 2";
  185. horizSizing = "right";
  186. vertSizing = "bottom";
  187. fixedAspectRatio = "0";
  188. profile = "GuiPopUpMenuProfile";
  189. visible = "1";
  190. active = "1";
  191. tooltipProfile = "ToolsGuiToolTipProfile";
  192. hovertime = "1000";
  193. isContainer = "0";
  194. internalName = "CopySourceDropdown";
  195. canSave = "1";
  196. canSaveDynamicFields = "0";
  197. };
  198. new GuiCheckBoxCtrl() {
  199. useInactiveState = "0";
  200. text = "Client-Side Datablock";
  201. groupNum = "-1";
  202. buttonType = "ToggleButton";
  203. useMouseEvents = "0";
  204. position = "7 105";
  205. extent = "140 30";
  206. minExtent = "8 2";
  207. horizSizing = "right";
  208. vertSizing = "bottom";
  209. fixedAspectRatio = "0";
  210. profile = "ToolsGuiCheckBoxProfile";
  211. visible = "1";
  212. active = "1";
  213. tooltipProfile = "ToolsGuiToolTipProfile";
  214. hovertime = "1000";
  215. isContainer = "0";
  216. internalName = "ClientSideCheckBox";
  217. canSave = "1";
  218. canSaveDynamicFields = "0";
  219. };
  220. };
  221. };
  222. //--- OBJECT WRITE END ---