shapeEdSelectWindow.ed.gui 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. //--- OBJECT WRITE BEGIN ---
  2. $guiContent = new GuiControl() {
  3. canSaveDynamicFields = "0";
  4. isContainer = "1";
  5. Profile = "ToolsGuiDefaultProfile";
  6. HorizSizing = "width";
  7. VertSizing = "height";
  8. Position = "0 0";
  9. Extent = "1024 768";
  10. MinExtent = "8 2";
  11. canSave = "1";
  12. Visible = "1";
  13. tooltipprofile = "ToolsGuiToolTipProfile";
  14. hovertime = "1000";
  15. //---------------------------------------------------------------------------
  16. // Shape selector window
  17. new GuiWindowCollapseCtrl(ShapeEdSelectWindow) {
  18. canSaveDynamicFields = "0";
  19. isContainer = "1";
  20. Profile = "ToolsGuiWindowProfile";
  21. HorizSizing = "windowRelative";
  22. VertSizing = "windowRelative";
  23. Position = getWord($pref::Video::mode, 0) - 360
  24. SPC getWord(EditorGuiToolbar.extent, 1) + 6;
  25. Extent = "360 165";
  26. MinExtent = "300 165";
  27. canSave = "1";
  28. Visible = "0";
  29. tooltipprofile = "ToolsGuiToolTipProfile";
  30. hovertime = "1000";
  31. Margin = "4 4 4 4";
  32. Padding = "0 0 0 0";
  33. AnchorTop = "1";
  34. AnchorBottom = "0";
  35. AnchorLeft = "1";
  36. AnchorRight = "0";
  37. resizeWidth = "1";
  38. resizeHeight = "1";
  39. canMove = "1";
  40. canClose = "0";
  41. canMinimize = "0";
  42. canMaximize = "0";
  43. minSize = "50 50";
  44. EdgeSnap = "1";
  45. text = ":: Shape Editor - Select";
  46. new GuiTabBookCtrl(ShapeEditorTabbook) {
  47. internalName = "tabBook";
  48. canSaveDynamicFields = "0";
  49. isContainer = "1";
  50. Profile = "ToolsGuiTabBookProfile";
  51. HorizSizing = "width";
  52. VertSizing = "height";
  53. position = "4 24";
  54. Extent = "202 150";
  55. MinExtent = "8 -500";
  56. canSave = "1";
  57. Visible = "1";
  58. tooltipprofile = "ToolsGuiToolTipProfile";
  59. hovertime = "1000";
  60. docking = "client";
  61. Margin = "3 1 3 3";
  62. Padding = "0 0 0 0";
  63. AnchorTop = "1";
  64. AnchorBottom = "0";
  65. AnchorLeft = "1";
  66. AnchorRight = "0";
  67. TabPosition = "Top";
  68. TabMargin = "6";
  69. MinTabWidth = "32";
  70. //---------------------------------------------------------------
  71. // Scene shapes (ie. the MissionGroup)
  72. new GuiTabPageCtrl() {
  73. canSaveDynamicFields = "0";
  74. isContainer = "1";
  75. Profile = "ToolsGuiTabPageProfile";
  76. HorizSizing = "width";
  77. VertSizing = "height";
  78. Position = "0 19";
  79. Extent = "202 146";
  80. MinExtent = "0 -500";
  81. canSave = "1";
  82. Visible = "0";
  83. tooltipprofile = "ToolsGuiToolTipProfile";
  84. hovertime = "1000";
  85. Margin = "0 0 0 0";
  86. Padding = "0 0 0 0";
  87. AnchorTop = "1";
  88. AnchorBottom = "0";
  89. AnchorLeft = "1";
  90. AnchorRight = "0";
  91. text = "Scene";
  92. maxLength = "1024";
  93. new GuiScrollCtrl() {
  94. canSaveDynamicFields = "0";
  95. isContainer = "1";
  96. Profile = "ToolsGuiScrollProfile";
  97. HorizSizing = "width";
  98. VertSizing = "height";
  99. position = "0 0";
  100. Extent = "202 146";
  101. MinExtent = "8 -500";
  102. canSave = "1";
  103. Visible = "1";
  104. tooltipprofile = "ToolsGuiToolTipProfile";
  105. hovertime = "1000";
  106. Margin = "0 0 0 0";
  107. Padding = "0 0 0 0";
  108. AnchorTop = "1";
  109. AnchorBottom = "0";
  110. AnchorLeft = "1";
  111. AnchorRight = "0";
  112. willFirstRespond = "1";
  113. hScrollBar = "dynamic";
  114. vScrollBar = "dynamic";
  115. lockHorizScroll = false;
  116. lockVertScroll = "false";
  117. constantThumbHeight = "0";
  118. childMargin = "0 0";
  119. mouseWheelScrollSpeed = "-1";
  120. new GuiTreeViewCtrl(ShapeEdShapeTreeView) {
  121. canSaveDynamicFields = "0";
  122. isContainer = "1";
  123. Profile = "ToolsGuiTreeViewProfile";
  124. HorizSizing = "right";
  125. VertSizing = "bottom";
  126. position = "1 1";
  127. Extent = "190 144";
  128. MinExtent = "8 -500";
  129. canSave = "1";
  130. Visible = "1";
  131. hovertime = "1000";
  132. tabSize = "16";
  133. textOffset = "2";
  134. fullRowSelect = "0";
  135. itemHeight = "21";
  136. destroyTreeOnSleep = "1";
  137. MouseDragging = "1";
  138. MultipleSelections = "1";
  139. DeleteObjectAllowed = "1";
  140. DragToItemAllowed = "1";
  141. showRoot = "1";
  142. internalNamesOnly = "0";
  143. showObjectIds = "0";
  144. showClassNames = "0";
  145. showObjectNames = "1";
  146. showInternalNames = "1";
  147. showClassNameForUnnamedObjects = "1";
  148. };
  149. };
  150. };
  151. //---------------------------------------------------------------
  152. // All shapes
  153. new GuiTabPageCtrl() {
  154. canSaveDynamicFields = "0";
  155. isContainer = "1";
  156. Profile = "ToolsGuiTabPageProfile";
  157. HorizSizing = "width";
  158. VertSizing = "height";
  159. position = "0 19";
  160. Extent = "202 146";
  161. MinExtent = "0 -500";
  162. canSave = "1";
  163. Visible = "0";
  164. tooltipprofile = "ToolsGuiToolTipProfile";
  165. hovertime = "1000";
  166. Margin = "0 0 0 0";
  167. Padding = "0 0 0 0";
  168. AnchorTop = "1";
  169. AnchorBottom = "0";
  170. AnchorLeft = "1";
  171. AnchorRight = "0";
  172. text = "Assets";
  173. maxLength = "1024";
  174. };
  175. //---------------------------------------------------------------
  176. // Shape hints
  177. new GuiTabPageCtrl() {
  178. canSaveDynamicFields = "0";
  179. isContainer = "1";
  180. Profile = "ToolsGuiTabPageProfile";
  181. HorizSizing = "width";
  182. VertSizing = "height";
  183. position = "0 19";
  184. Extent = "202 146";
  185. MinExtent = "0 -500";
  186. canSave = "1";
  187. Visible = "0";
  188. tooltipprofile = "ToolsGuiToolTipProfile";
  189. hovertime = "1000";
  190. Margin = "0 0 0 0";
  191. Padding = "0 0 0 0";
  192. AnchorTop = "1";
  193. AnchorBottom = "0";
  194. AnchorLeft = "1";
  195. AnchorRight = "0";
  196. text = "Hints";
  197. maxLength = "1024";
  198. new GuiContainer() {
  199. isContainer = "1";
  200. HorizSizing = "width";
  201. VertSizing = "height";
  202. position = "0 0";
  203. Extent = "202 146";
  204. MinExtent = "0 -500";
  205. Profile = "GuiInspectorProfile";
  206. };
  207. new GuiBitmapBorderCtrl() {
  208. isContainer = "1";
  209. HorizSizing = "width";
  210. VertSizing = "height";
  211. position = "0 0";
  212. Extent = "202 146";
  213. MinExtent = "0 -500";
  214. Profile = "ToolsGuiTabBorderProfile";
  215. };
  216. new GuiScrollCtrl() {
  217. canSaveDynamicFields = "0";
  218. isContainer = "1";
  219. Profile = "ToolsGuiScrollProfile";
  220. HorizSizing = "width";
  221. VertSizing = "height";
  222. position = "0 24";
  223. Extent = "202 123";
  224. MinExtent = "8 -500";
  225. canSave = "1";
  226. Visible = "1";
  227. tooltipprofile = "ToolsGuiToolTipProfile";
  228. hovertime = "1000";
  229. Margin = "0 0 0 0";
  230. Padding = "0 0 0 0";
  231. AnchorTop = "1";
  232. AnchorBottom = "0";
  233. AnchorLeft = "1";
  234. AnchorRight = "0";
  235. willFirstRespond = "1";
  236. hScrollBar = "dynamic";
  237. vScrollBar = "dynamic";
  238. lockHorizScroll = true;
  239. lockVertScroll = "false";
  240. constantThumbHeight = "0";
  241. childMargin = "0 0";
  242. mouseWheelScrollSpeed = "-1";
  243. new GuiStackControl() {
  244. canSaveDynamicFields = "0";
  245. isContainer = "1";
  246. Profile = "ToolsGuiTransparentProfile";
  247. HorizSizing = "width";
  248. VertSizing = "bottom";
  249. position = "0 1";
  250. Extent = "185 50";
  251. MinExtent = "8 8";
  252. canSave = "1";
  253. Visible = "1";
  254. tooltipprofile = "ToolsGuiToolTipProfile";
  255. hovertime = "1000";
  256. StackingType = "Vertical";
  257. HorizStacking = "Left to Right";
  258. VertStacking = "Top to Bottom";
  259. Padding = "2";
  260. new GuiRolloutCtrl() {
  261. Profile = "GuiShapeEdRolloutProfile";
  262. HorizSizing = "width";
  263. VertSizing = "bottom";
  264. position = "1 0";
  265. Extent = "184 24";
  266. MinExtent = "8 -500";
  267. Caption = "Nodes";
  268. Margin = "2 2 2 2";
  269. Expanded = "0";
  270. new GuiStackControl() {
  271. internalName = "nodeHints";
  272. canSaveDynamicFields = "0";
  273. isContainer = "1";
  274. Profile = "ToolsGuiTransparentProfile";
  275. HorizSizing = "width";
  276. VertSizing = "bottom";
  277. position = "0 24";
  278. Extent = "184 0";
  279. MinExtent = "8 -500";
  280. canSave = "1";
  281. Visible = "1";
  282. tooltipprofile = "ToolsGuiToolTipProfile";
  283. hovertime = "1000";
  284. StackingType = "Vertical";
  285. HorizStacking = "Left to Right";
  286. VertStacking = "Top to Bottom";
  287. Padding = "2";
  288. };
  289. };
  290. new GuiRolloutCtrl() {
  291. Profile = "GuiShapeEdRolloutProfile";
  292. HorizSizing = "width";
  293. VertSizing = "bottom";
  294. position = "1 26";
  295. Extent = "184 24";
  296. MinExtent = "8 -500";
  297. Caption = "Sequences";
  298. Margin = "2 2 2 2";
  299. Expanded = "0";
  300. new GuiStackControl() {
  301. internalName = "sequenceHints";
  302. canSaveDynamicFields = "0";
  303. isContainer = "1";
  304. Profile = "ToolsGuiTransparentProfile";
  305. HorizSizing = "width";
  306. VertSizing = "bottom";
  307. Position = "0 0";
  308. Extent = "184 24";
  309. MinExtent = "8 -500";
  310. canSave = "1";
  311. Visible = "1";
  312. tooltipprofile = "ToolsGuiToolTipProfile";
  313. hovertime = "1000";
  314. StackingType = "Vertical";
  315. HorizStacking = "Left to Right";
  316. VertStacking = "Top to Bottom";
  317. Padding = "2";
  318. };
  319. };
  320. };
  321. };
  322. new GuiTextCtrl(){
  323. Position = "5 5";
  324. Extent = "60 16";
  325. text = "Shape Type";
  326. };
  327. new GuiPopUpMenuCtrl(ShapeEdHintMenu) {
  328. canSaveDynamicFields = "0";
  329. isContainer = "0";
  330. Profile = "ToolsGuiPopUpMenuProfile";
  331. HorizSizing = "width";
  332. VertSizing = "bottom";
  333. position = "66 4";
  334. Extent = "132 18";
  335. MinExtent = "8 2";
  336. canSave = "1";
  337. Visible = "1";
  338. tooltipprofile = "ToolsGuiToolTipProfile";
  339. hovertime = "1000";
  340. Margin = "0 0 0 0";
  341. Padding = "0 0 0 0";
  342. AnchorTop = "1";
  343. AnchorBottom = "0";
  344. AnchorLeft = "1";
  345. AnchorRight = "0";
  346. text = "art";
  347. maxLength = "1024";
  348. maxPopupHeight = "200";
  349. sbUsesNAColor = "0";
  350. reverseTextList = "0";
  351. bitmapBounds = "16 16";
  352. };
  353. };
  354. };
  355. // Force load DAEs
  356. new GuiCheckBoxCtrl() {
  357. Profile = "ToolsGuiCheckBoxProfile";
  358. HorizSizing = "left";
  359. VertSizing = "bottom";
  360. Position = "133 27";
  361. Extent = "72 13";
  362. Variable = "EWorldEditor.forceLoadDAE";
  363. Command = "EWorldEditor.forceLoadDAE = $ThisControl.getValue(); EditorSettings.setValue(\"forceLoadDAE\", EWorldEditor.forceLoadDAE);";
  364. tooltipprofile = "ToolsGuiToolTipProfile";
  365. ToolTip = "Forces loading of DAE files (ignores cached.dts if present)";
  366. hovertime = "1000";
  367. text = " Source Art";
  368. visible = false;
  369. };
  370. };
  371. };
  372. //--- OBJECT WRITE END ---