DatablockEditorCreatePrompt.ed.gui 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  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. profile = "ToolsGuiDefaultProfile";
  9. visible = "1";
  10. active = "1";
  11. tooltipProfile = "ToolsGuiToolTipProfile";
  12. hovertime = "1000";
  13. isContainer = "1";
  14. canSave = "1";
  15. canSaveDynamicFields = "1";
  16. fixedAspectRatio = "0";
  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 = "374 252";
  35. extent = "309 167";
  36. minExtent = "8 2";
  37. horizSizing = "right";
  38. vertSizing = "bottom";
  39. profile = "ToolsGuiWindowProfile";
  40. visible = "1";
  41. active = "1";
  42. tooltipProfile = "ToolsGuiToolTipProfile";
  43. hovertime = "1000";
  44. isContainer = "1";
  45. internalName = "promptWindow";
  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. profile = "ToolsGuiTextProfile";
  63. visible = "1";
  64. active = "1";
  65. tooltipProfile = "ToolsGuiToolTipProfile";
  66. hovertime = "1000";
  67. isContainer = "0";
  68. canSave = "1";
  69. canSaveDynamicFields = "0";
  70. };
  71. new GuiTextEditCtrl() {
  72. historySize = "0";
  73. tabComplete = "0";
  74. sinkAllKeyEvents = "0";
  75. password = "0";
  76. passwordMask = "*";
  77. text = "Name";
  78. maxLength = "1024";
  79. margin = "0 0 0 0";
  80. padding = "0 0 0 0";
  81. anchorTop = "1";
  82. anchorBottom = "0";
  83. anchorLeft = "1";
  84. anchorRight = "0";
  85. position = "7 45";
  86. extent = "294 18";
  87. minExtent = "8 2";
  88. horizSizing = "right";
  89. vertSizing = "bottom";
  90. profile = "ToolsGuiTextEditProfile";
  91. visible = "1";
  92. active = "1";
  93. tooltipProfile = "ToolsGuiToolTipProfile";
  94. hovertime = "1000";
  95. isContainer = "0";
  96. internalName = "CreateDatablockName";
  97. canSave = "1";
  98. canSaveDynamicFields = "0";
  99. };
  100. new GuiButtonCtrl() {
  101. text = "Create";
  102. groupNum = "-1";
  103. buttonType = "PushButton";
  104. useMouseEvents = "0";
  105. position = "111 137";
  106. extent = "122 22";
  107. minExtent = "8 2";
  108. horizSizing = "right";
  109. vertSizing = "bottom";
  110. profile = "ToolsGuiButtonProfile";
  111. visible = "1";
  112. active = "1";
  113. command = "DatablockEditorPlugin.createPromptNameCheck();";
  114. accelerator = "return";
  115. tooltipProfile = "ToolsGuiToolTipProfile";
  116. hovertime = "1000";
  117. isContainer = "0";
  118. canSave = "1";
  119. canSaveDynamicFields = "0";
  120. };
  121. new GuiButtonCtrl() {
  122. text = "Cancel";
  123. groupNum = "-1";
  124. buttonType = "PushButton";
  125. useMouseEvents = "0";
  126. position = "239 137";
  127. extent = "63 22";
  128. minExtent = "8 2";
  129. horizSizing = "right";
  130. vertSizing = "bottom";
  131. profile = "ToolsGuiButtonProfile";
  132. visible = "1";
  133. active = "1";
  134. command = "canvas.popDialog(DatablockEditorCreatePrompt);";
  135. accelerator = "escape";
  136. tooltipProfile = "ToolsGuiToolTipProfile";
  137. hovertime = "1000";
  138. isContainer = "0";
  139. canSave = "1";
  140. canSaveDynamicFields = "0";
  141. };
  142. new GuiTextCtrl() {
  143. text = "Copy values from";
  144. maxLength = "1024";
  145. margin = "0 0 0 0";
  146. padding = "0 0 0 0";
  147. anchorTop = "1";
  148. anchorBottom = "0";
  149. anchorLeft = "1";
  150. anchorRight = "0";
  151. position = "7 66";
  152. extent = "100 17";
  153. minExtent = "8 2";
  154. horizSizing = "right";
  155. vertSizing = "bottom";
  156. profile = "ToolsGuiTextProfile";
  157. visible = "1";
  158. active = "1";
  159. tooltipProfile = "ToolsGuiToolTipProfile";
  160. hovertime = "1000";
  161. isContainer = "0";
  162. canSave = "1";
  163. canSaveDynamicFields = "0";
  164. };
  165. new GuiPopUpMenuCtrl() {
  166. maxPopupHeight = "200";
  167. sbUsesNAColor = "0";
  168. reverseTextList = "0";
  169. bitmapBounds = "16 16";
  170. maxLength = "1024";
  171. margin = "0 0 0 0";
  172. padding = "0 0 0 0";
  173. anchorTop = "1";
  174. anchorBottom = "0";
  175. anchorLeft = "1";
  176. anchorRight = "0";
  177. position = "7 87";
  178. extent = "294 19";
  179. minExtent = "8 2";
  180. horizSizing = "right";
  181. vertSizing = "bottom";
  182. profile = "ToolsGuiPopUpMenuProfile";
  183. visible = "1";
  184. active = "1";
  185. tooltipProfile = "ToolsGuiToolTipProfile";
  186. hovertime = "1000";
  187. isContainer = "0";
  188. internalName = "CopySourceDropdown";
  189. canSave = "1";
  190. canSaveDynamicFields = "0";
  191. };
  192. new GuiCheckBoxCtrl() {
  193. text = "Client-Side Datablock";
  194. groupNum = "-1";
  195. buttonType = "ToggleButton";
  196. useMouseEvents = "0";
  197. position = "7 105";
  198. extent = "140 30";
  199. minExtent = "8 2";
  200. horizSizing = "right";
  201. vertSizing = "bottom";
  202. profile = "ToolsGuiCheckBoxProfile";
  203. visible = "1";
  204. active = "0";
  205. tooltipProfile = "ToolsGuiToolTipProfile";
  206. hovertime = "1000";
  207. isContainer = "0";
  208. internalName = "ClientSideCheckBox";
  209. canSave = "1";
  210. canSaveDynamicFields = "0";
  211. };
  212. };
  213. };
  214. //--- OBJECT WRITE END ---