shapeEdSelectWindow.ed.gui 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504
  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) - 209
  24. SPC getWord(EditorGuiToolbar.extent, 1) - 1;
  25. Extent = "210 213";
  26. MinExtent = "210 114";
  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 = "Shapes";
  46. new GuiTabBookCtrl() {
  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 165";
  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 = "Library";
  173. maxLength = "1024";
  174. new GuiContainer() {
  175. isContainer = "1";
  176. HorizSizing = "width";
  177. VertSizing = "height";
  178. position = "0 0";
  179. Extent = "202 146";
  180. MinExtent = "0 -500";
  181. Profile = "GuiInspectorProfile";
  182. };
  183. new GuiBitmapBorderCtrl() {
  184. isContainer = "1";
  185. HorizSizing = "width";
  186. VertSizing = "height";
  187. position = "0 0";
  188. Extent = "202 146";
  189. MinExtent = "0 -500";
  190. Profile = "ToolsGuiTabBorderProfile";
  191. };
  192. new GuiBitmapButtonCtrl() {
  193. canSaveDynamicFields = "0";
  194. isContainer = "0";
  195. Profile = "ToolsGuiButtonProfile";
  196. HorizSizing = "right";
  197. VertSizing = "bottom";
  198. position = "3 4";
  199. Extent = "20 19";
  200. MinExtent = "8 2";
  201. canSave = "1";
  202. Visible = "1";
  203. Command = "ShapeEdSelectWindow.navigateUp();";
  204. tooltipprofile = "ToolsGuiToolTipProfile";
  205. hovertime = "1000";
  206. groupNum = "0";
  207. buttonType = "PushButton";
  208. useMouseEvents = "0";
  209. bitmap = "tools/gui/images/folderUp";
  210. };
  211. new GuiPopUpMenuCtrl(ShapeEdSelectMenu) {
  212. canSaveDynamicFields = "0";
  213. isContainer = "0";
  214. Profile = "ToolsGuiPopUpMenuProfile";
  215. HorizSizing = "width";
  216. VertSizing = "bottom";
  217. position = "26 4";
  218. Extent = "172 18";
  219. MinExtent = "8 2";
  220. canSave = "1";
  221. Visible = "1";
  222. tooltipprofile = "ToolsGuiToolTipProfile";
  223. hovertime = "1000";
  224. Margin = "0 0 0 0";
  225. Padding = "0 0 0 0";
  226. AnchorTop = "1";
  227. AnchorBottom = "0";
  228. AnchorLeft = "1";
  229. AnchorRight = "0";
  230. text = "art";
  231. maxLength = "1024";
  232. maxPopupHeight = "200";
  233. sbUsesNAColor = "0";
  234. reverseTextList = "0";
  235. bitmapBounds = "16 16";
  236. };
  237. new GuiScrollCtrl() {
  238. canSaveDynamicFields = "0";
  239. isContainer = "1";
  240. Profile = "ToolsGuiScrollProfile";
  241. HorizSizing = "width";
  242. VertSizing = "height";
  243. position = "0 24";
  244. Extent = "202 122";
  245. MinExtent = "8 -500";
  246. canSave = "1";
  247. Visible = "1";
  248. tooltipprofile = "ToolsGuiToolTipProfile";
  249. hovertime = "1000";
  250. Margin = "0 0 0 0";
  251. Padding = "0 0 0 0";
  252. AnchorTop = "1";
  253. AnchorBottom = "0";
  254. AnchorLeft = "1";
  255. AnchorRight = "0";
  256. willFirstRespond = "1";
  257. hScrollBar = "dynamic";
  258. vScrollBar = "dynamic";
  259. lockHorizScroll = false;
  260. lockVertScroll = "false";
  261. constantThumbHeight = "0";
  262. childMargin = "0 0";
  263. mouseWheelScrollSpeed = "-1";
  264. new GuiDynamicCtrlArrayControl() {
  265. internalName = "shapeLibrary";
  266. canSaveDynamicFields = "0";
  267. isContainer = "1";
  268. Profile = "ToolsGuiTransparentProfile";
  269. HorizSizing = "right";
  270. VertSizing = "bottom";
  271. position = "1 1";
  272. Extent = "189 42";
  273. MinExtent = "8 11";
  274. canSave = "1";
  275. Visible = "1";
  276. tooltipprofile = "ToolsGuiToolTipProfile";
  277. hovertime = "1000";
  278. colCount = "1";
  279. colSize = "64";
  280. rowCount = "0";
  281. RowSize = "64";
  282. rowSpacing = "4";
  283. colSpacing = "4";
  284. frozen = "0";
  285. autoCellSize = "1";
  286. fillRowFirst = "1";
  287. dynamicSize = "1";
  288. };
  289. };
  290. };
  291. //---------------------------------------------------------------
  292. // Shape hints
  293. new GuiTabPageCtrl() {
  294. canSaveDynamicFields = "0";
  295. isContainer = "1";
  296. Profile = "ToolsGuiTabPageProfile";
  297. HorizSizing = "width";
  298. VertSizing = "height";
  299. position = "0 19";
  300. Extent = "202 146";
  301. MinExtent = "0 -500";
  302. canSave = "1";
  303. Visible = "0";
  304. tooltipprofile = "ToolsGuiToolTipProfile";
  305. hovertime = "1000";
  306. Margin = "0 0 0 0";
  307. Padding = "0 0 0 0";
  308. AnchorTop = "1";
  309. AnchorBottom = "0";
  310. AnchorLeft = "1";
  311. AnchorRight = "0";
  312. text = "Hints";
  313. maxLength = "1024";
  314. new GuiContainer() {
  315. isContainer = "1";
  316. HorizSizing = "width";
  317. VertSizing = "height";
  318. position = "0 0";
  319. Extent = "202 146";
  320. MinExtent = "0 -500";
  321. Profile = "GuiInspectorProfile";
  322. };
  323. new GuiBitmapBorderCtrl() {
  324. isContainer = "1";
  325. HorizSizing = "width";
  326. VertSizing = "height";
  327. position = "0 0";
  328. Extent = "202 146";
  329. MinExtent = "0 -500";
  330. Profile = "ToolsGuiTabBorderProfile";
  331. };
  332. new GuiScrollCtrl() {
  333. canSaveDynamicFields = "0";
  334. isContainer = "1";
  335. Profile = "ToolsGuiScrollProfile";
  336. HorizSizing = "width";
  337. VertSizing = "height";
  338. position = "0 24";
  339. Extent = "202 123";
  340. MinExtent = "8 -500";
  341. canSave = "1";
  342. Visible = "1";
  343. tooltipprofile = "ToolsGuiToolTipProfile";
  344. hovertime = "1000";
  345. Margin = "0 0 0 0";
  346. Padding = "0 0 0 0";
  347. AnchorTop = "1";
  348. AnchorBottom = "0";
  349. AnchorLeft = "1";
  350. AnchorRight = "0";
  351. willFirstRespond = "1";
  352. hScrollBar = "dynamic";
  353. vScrollBar = "dynamic";
  354. lockHorizScroll = true;
  355. lockVertScroll = "false";
  356. constantThumbHeight = "0";
  357. childMargin = "0 0";
  358. mouseWheelScrollSpeed = "-1";
  359. new GuiStackControl() {
  360. canSaveDynamicFields = "0";
  361. isContainer = "1";
  362. Profile = "ToolsGuiTransparentProfile";
  363. HorizSizing = "width";
  364. VertSizing = "bottom";
  365. position = "0 1";
  366. Extent = "185 50";
  367. MinExtent = "8 8";
  368. canSave = "1";
  369. Visible = "1";
  370. tooltipprofile = "ToolsGuiToolTipProfile";
  371. hovertime = "1000";
  372. StackingType = "Vertical";
  373. HorizStacking = "Left to Right";
  374. VertStacking = "Top to Bottom";
  375. Padding = "2";
  376. new GuiRolloutCtrl() {
  377. Profile = "GuiShapeEdRolloutProfile";
  378. HorizSizing = "width";
  379. VertSizing = "bottom";
  380. position = "1 0";
  381. Extent = "184 24";
  382. MinExtent = "8 -500";
  383. Caption = "Nodes";
  384. Margin = "2 2 2 2";
  385. Expanded = "0";
  386. new GuiStackControl() {
  387. internalName = "nodeHints";
  388. canSaveDynamicFields = "0";
  389. isContainer = "1";
  390. Profile = "ToolsGuiTransparentProfile";
  391. HorizSizing = "width";
  392. VertSizing = "bottom";
  393. position = "0 24";
  394. Extent = "184 0";
  395. MinExtent = "8 -500";
  396. canSave = "1";
  397. Visible = "1";
  398. tooltipprofile = "ToolsGuiToolTipProfile";
  399. hovertime = "1000";
  400. StackingType = "Vertical";
  401. HorizStacking = "Left to Right";
  402. VertStacking = "Top to Bottom";
  403. Padding = "2";
  404. };
  405. };
  406. new GuiRolloutCtrl() {
  407. Profile = "GuiShapeEdRolloutProfile";
  408. HorizSizing = "width";
  409. VertSizing = "bottom";
  410. position = "1 26";
  411. Extent = "184 24";
  412. MinExtent = "8 -500";
  413. Caption = "Sequences";
  414. Margin = "2 2 2 2";
  415. Expanded = "0";
  416. new GuiStackControl() {
  417. internalName = "sequenceHints";
  418. canSaveDynamicFields = "0";
  419. isContainer = "1";
  420. Profile = "ToolsGuiTransparentProfile";
  421. HorizSizing = "width";
  422. VertSizing = "bottom";
  423. Position = "0 0";
  424. Extent = "184 24";
  425. MinExtent = "8 -500";
  426. canSave = "1";
  427. Visible = "1";
  428. tooltipprofile = "ToolsGuiToolTipProfile";
  429. hovertime = "1000";
  430. StackingType = "Vertical";
  431. HorizStacking = "Left to Right";
  432. VertStacking = "Top to Bottom";
  433. Padding = "2";
  434. };
  435. };
  436. };
  437. };
  438. new GuiTextCtrl(){
  439. Position = "5 5";
  440. Extent = "60 16";
  441. text = "Shape Type";
  442. };
  443. new GuiPopUpMenuCtrl(ShapeEdHintMenu) {
  444. canSaveDynamicFields = "0";
  445. isContainer = "0";
  446. Profile = "ToolsGuiPopUpMenuProfile";
  447. HorizSizing = "width";
  448. VertSizing = "bottom";
  449. position = "66 4";
  450. Extent = "132 18";
  451. MinExtent = "8 2";
  452. canSave = "1";
  453. Visible = "1";
  454. tooltipprofile = "ToolsGuiToolTipProfile";
  455. hovertime = "1000";
  456. Margin = "0 0 0 0";
  457. Padding = "0 0 0 0";
  458. AnchorTop = "1";
  459. AnchorBottom = "0";
  460. AnchorLeft = "1";
  461. AnchorRight = "0";
  462. text = "art";
  463. maxLength = "1024";
  464. maxPopupHeight = "200";
  465. sbUsesNAColor = "0";
  466. reverseTextList = "0";
  467. bitmapBounds = "16 16";
  468. };
  469. };
  470. };
  471. // Force load DAEs
  472. new GuiCheckBoxCtrl() {
  473. Profile = "ToolsGuiCheckBoxProfile";
  474. HorizSizing = "left";
  475. VertSizing = "bottom";
  476. Position = "135 27";
  477. Extent = "72 13";
  478. Variable = "EWorldEditor.forceLoadDAE";
  479. Command = "EWorldEditor.forceLoadDAE = $ThisControl.getValue(); EditorSettings.setValue(\"forceLoadDAE\", EWorldEditor.forceLoadDAE);";
  480. tooltipprofile = "ToolsGuiToolTipProfile";
  481. ToolTip = "Forces loading of DAE files (ignores cached.dts if present)";
  482. hovertime = "1000";
  483. text = " Force DAE";
  484. };
  485. };
  486. };
  487. //--- OBJECT WRITE END ---