postFxEditor.gui 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  1. //--- OBJECT WRITE BEGIN ---
  2. %guiContent = new GuiControl(postFXEditor) {
  3. position = "0 0";
  4. extent = "1920 1200";
  5. minExtent = "8 8";
  6. horizSizing = "width";
  7. vertSizing = "height";
  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. new GuiWindowCtrl(PostFXEditorWindow) {
  17. text = "PostFX Editor - EditorTemplateLevel";
  18. resizeWidth = "1";
  19. resizeHeight = "1";
  20. canMove = "1";
  21. canClose = "1";
  22. canMinimize = "0";
  23. canMaximize = "0";
  24. canCollapse = "0";
  25. closeCommand = "Canvas.popDialog(PostFXEditor);";
  26. edgeSnap = "0";
  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 = "639 292";
  34. extent = "642 615";
  35. minExtent = "8 8";
  36. horizSizing = "center";
  37. vertSizing = "center";
  38. profile = "ToolsGuiWindowProfile";
  39. visible = "1";
  40. active = "1";
  41. tooltipProfile = "GuiToolTipProfile";
  42. hovertime = "1000";
  43. isContainer = "1";
  44. canSave = "1";
  45. canSaveDynamicFields = "0";
  46. new GuiSplitContainer() {
  47. orientation = "Vertical";
  48. splitterSize = "2";
  49. splitPoint = "182 100";
  50. fixedPanel = "None";
  51. fixedSize = "100";
  52. docking = "None";
  53. margin = "0 0 0 0";
  54. padding = "0 0 0 0";
  55. anchorTop = "1";
  56. anchorBottom = "0";
  57. anchorLeft = "1";
  58. anchorRight = "0";
  59. position = "0 24";
  60. extent = "642 562";
  61. minExtent = "64 64";
  62. horizSizing = "width";
  63. vertSizing = "height";
  64. profile = "ToolsGuiSolidDefaultProfile";
  65. visible = "1";
  66. active = "1";
  67. tooltipProfile = "GuiToolTipProfile";
  68. hovertime = "1000";
  69. isContainer = "1";
  70. canSave = "1";
  71. canSaveDynamicFields = "0";
  72. new GuiPanel() {
  73. docking = "Client";
  74. margin = "0 0 0 0";
  75. padding = "0 0 0 0";
  76. anchorTop = "1";
  77. anchorBottom = "0";
  78. anchorLeft = "1";
  79. anchorRight = "0";
  80. position = "0 0";
  81. extent = "180 562";
  82. minExtent = "16 16";
  83. horizSizing = "right";
  84. vertSizing = "bottom";
  85. profile = "ToolsGuiSolidDefaultProfile";
  86. visible = "1";
  87. active = "1";
  88. tooltipProfile = "GuiToolTipProfile";
  89. hovertime = "1000";
  90. isContainer = "1";
  91. internalName = "Panel1";
  92. canSave = "1";
  93. canSaveDynamicFields = "0";
  94. new GuiBitmapButtonCtrl() {
  95. bitmap = "tools/gui/images/iconAdd.png";
  96. bitmapMode = "Centered";
  97. autoFitExtents = "0";
  98. useModifiers = "0";
  99. useStates = "1";
  100. masked = "0";
  101. groupNum = "-1";
  102. buttonType = "PushButton";
  103. useMouseEvents = "0";
  104. position = "145 4";
  105. extent = "16 16";
  106. minExtent = "8 2";
  107. horizSizing = "right";
  108. vertSizing = "bottom";
  109. profile = "GuiDefaultProfile";
  110. visible = "1";
  111. active = "1";
  112. command = "PostFXEditorNewPFXWindow.showDialog();";
  113. tooltipProfile = "GuiToolTipProfile";
  114. tooltip = "Add a new PostFX";
  115. hovertime = "1000";
  116. isContainer = "0";
  117. canSave = "1";
  118. canSaveDynamicFields = "0";
  119. };
  120. new GuiBitmapButtonCtrl() {
  121. bitmap = "tools/gui/images/iconDelete.png";
  122. bitmapMode = "Centered";
  123. autoFitExtents = "0";
  124. useModifiers = "0";
  125. useStates = "1";
  126. masked = "0";
  127. groupNum = "-1";
  128. buttonType = "PushButton";
  129. useMouseEvents = "0";
  130. position = "163 4";
  131. extent = "16 16";
  132. minExtent = "8 2";
  133. horizSizing = "right";
  134. vertSizing = "bottom";
  135. profile = "GuiDefaultProfile";
  136. visible = "1";
  137. active = "1";
  138. command = "PostFXEditor.removePostFX();";
  139. tooltipProfile = "GuiToolTipProfile";
  140. tooltip = "Delets the currently selected PostFX";
  141. hovertime = "1000";
  142. isContainer = "0";
  143. canSave = "1";
  144. canSaveDynamicFields = "0";
  145. };
  146. new GuiScrollCtrl() {
  147. willFirstRespond = "1";
  148. hScrollBar = "alwaysOff";
  149. vScrollBar = "dynamic";
  150. lockHorizScroll = "0";
  151. lockVertScroll = "0";
  152. constantThumbHeight = "0";
  153. childMargin = "0 0";
  154. mouseWheelScrollSpeed = "-1";
  155. margin = "0 0 0 0";
  156. padding = "0 0 0 0";
  157. anchorTop = "1";
  158. anchorBottom = "0";
  159. anchorLeft = "1";
  160. anchorRight = "0";
  161. position = "3 24";
  162. extent = "177 538";
  163. minExtent = "100 50";
  164. horizSizing = "width";
  165. vertSizing = "height";
  166. profile = "ToolsGuiScrollProfile";
  167. visible = "1";
  168. active = "1";
  169. tooltipProfile = "ToolsGuiToolTipProfile";
  170. hovertime = "1000";
  171. isContainer = "1";
  172. canSave = "1";
  173. canSaveDynamicFields = "0";
  174. new GuiTextListCtrl(PostEffectEditorList) {
  175. columns = "0";
  176. fitParentWidth = "0";
  177. clipColumnText = "0";
  178. rowHeightPadding = "2";
  179. position = "1 1";
  180. extent = "9 2";
  181. minExtent = "8 2";
  182. horizSizing = "width";
  183. vertSizing = "height";
  184. profile = "ToolsGuiListBoxProfile";
  185. visible = "1";
  186. active = "1";
  187. tooltipProfile = "ToolsGuiToolTipProfile";
  188. hovertime = "1000";
  189. isContainer = "0";
  190. canSave = "1";
  191. canSaveDynamicFields = "0";
  192. };
  193. };
  194. };
  195. new GuiPanel() {
  196. docking = "Client";
  197. margin = "0 0 0 0";
  198. padding = "0 0 0 0";
  199. anchorTop = "1";
  200. anchorBottom = "0";
  201. anchorLeft = "1";
  202. anchorRight = "0";
  203. position = "184 0";
  204. extent = "458 562";
  205. minExtent = "16 16";
  206. horizSizing = "right";
  207. vertSizing = "bottom";
  208. profile = "ToolsGuiSolidDefaultProfile";
  209. visible = "1";
  210. active = "1";
  211. tooltipProfile = "GuiToolTipProfile";
  212. hovertime = "1000";
  213. isContainer = "1";
  214. internalName = "panel2";
  215. canSave = "1";
  216. canSaveDynamicFields = "0";
  217. new GuiScrollCtrl() {
  218. willFirstRespond = "1";
  219. hScrollBar = "dynamic";
  220. vScrollBar = "dynamic";
  221. lockHorizScroll = "0";
  222. lockVertScroll = "0";
  223. constantThumbHeight = "0";
  224. childMargin = "0 0";
  225. mouseWheelScrollSpeed = "-1";
  226. margin = "0 0 0 0";
  227. padding = "0 0 0 0";
  228. anchorTop = "1";
  229. anchorBottom = "0";
  230. anchorLeft = "1";
  231. anchorRight = "0";
  232. position = "0 0";
  233. extent = "458 562";
  234. minExtent = "8 2";
  235. horizSizing = "width";
  236. vertSizing = "height";
  237. profile = "ToolsGuiScrollProfile";
  238. visible = "1";
  239. active = "1";
  240. tooltipProfile = "GuiToolTipProfile";
  241. hovertime = "1000";
  242. isContainer = "1";
  243. canSave = "1";
  244. canSaveDynamicFields = "0";
  245. new GuiVariableInspector(PostEffectEditorInspector) {
  246. dividerMargin = "5";
  247. showCustomFields = "1";
  248. stackingType = "Vertical";
  249. horizStacking = "Left to Right";
  250. vertStacking = "Top to Bottom";
  251. padding = "1";
  252. dynamicSize = "1";
  253. dynamicNonStackExtent = "0";
  254. dynamicPos = "0";
  255. changeChildSizeToFit = "1";
  256. changeChildPosition = "1";
  257. position = "1 1";
  258. extent = "441 615";
  259. minExtent = "16 16";
  260. horizSizing = "width";
  261. vertSizing = "height";
  262. profile = "GuiDefaultProfile";
  263. visible = "1";
  264. active = "1";
  265. tooltipProfile = "GuiToolTipProfile";
  266. hovertime = "1000";
  267. isContainer = "1";
  268. canSave = "1";
  269. canSaveDynamicFields = "0";
  270. };
  271. };
  272. };
  273. };
  274. new GuiButtonCtrl(PostFXEditorActionButton) {
  275. text = "Revert";
  276. groupNum = "-1";
  277. buttonType = "PushButton";
  278. useMouseEvents = "0";
  279. position = "451 588";
  280. extent = "93 23";
  281. minExtent = "8 8";
  282. horizSizing = "left";
  283. vertSizing = "top";
  284. profile = "ToolsGuiButtonProfile";
  285. visible = "1";
  286. active = "1";
  287. command = "PostFXEditor.revert(); PostFXEditor.refresh();";
  288. tooltipProfile = "GuiToolTipProfile";
  289. tooltip = "Revert any changes made.";
  290. hovertime = "1000";
  291. isContainer = "0";
  292. internalName="";
  293. canSave = "1";
  294. canSaveDynamicFields = "0";
  295. };
  296. new GuiButtonCtrl() {
  297. text = "Close";
  298. groupNum = "-1";
  299. buttonType = "PushButton";
  300. useMouseEvents = "0";
  301. position = "547 588";
  302. extent = "93 23";
  303. minExtent = "8 8";
  304. horizSizing = "left";
  305. vertSizing = "top";
  306. profile = "ToolsGuiButtonProfile";
  307. visible = "1";
  308. active = "1";
  309. command = "Canvas.popDialog(postFXEditor);";
  310. tooltipProfile = "GuiToolTipProfile";
  311. tooltip = "Close the Post Effect Editor";
  312. hovertime = "1000";
  313. isContainer = "0";
  314. canSave = "1";
  315. canSaveDynamicFields = "0";
  316. };
  317. };
  318. new GuiWindowCtrl(PostFXEditorNewPFXWindow) {
  319. text = "Add New PostFX";
  320. resizeWidth = "1";
  321. resizeHeight = "1";
  322. canMove = "1";
  323. canClose = "1";
  324. canMinimize = "0";
  325. canMaximize = "0";
  326. canCollapse = "0";
  327. edgeSnap = "1";
  328. margin = "0 0 0 0";
  329. padding = "0 0 0 0";
  330. anchorTop = "1";
  331. anchorBottom = "0";
  332. anchorLeft = "1";
  333. anchorRight = "0";
  334. position = "884 437";
  335. extent = "182 276";
  336. minExtent = "48 70";
  337. horizSizing = "center";
  338. vertSizing = "center";
  339. profile = "ToolsGuiWindowProfile";
  340. visible = "0";
  341. active = "1";
  342. tooltipProfile = "ToolsGuiToolTipProfile";
  343. closeCommand = "PostFXEditorNewPFXWindow.setHidden(true);";
  344. hovertime = "1000";
  345. isContainer = "1";
  346. hidden = "1";
  347. canSave = "1";
  348. canSaveDynamicFields = "0";
  349. new GuiScrollCtrl() {
  350. willFirstRespond = "1";
  351. hScrollBar = "alwaysOff";
  352. vScrollBar = "dynamic";
  353. lockHorizScroll = "0";
  354. lockVertScroll = "0";
  355. constantThumbHeight = "0";
  356. childMargin = "0 0";
  357. mouseWheelScrollSpeed = "-1";
  358. margin = "0 0 0 0";
  359. padding = "0 0 0 0";
  360. anchorTop = "1";
  361. anchorBottom = "0";
  362. anchorLeft = "1";
  363. anchorRight = "0";
  364. position = "3 24";
  365. extent = "177 224";
  366. minExtent = "100 50";
  367. horizSizing = "width";
  368. vertSizing = "height";
  369. profile = "ToolsGuiScrollProfile";
  370. visible = "1";
  371. active = "1";
  372. tooltipProfile = "ToolsGuiToolTipProfile";
  373. hovertime = "1000";
  374. isContainer = "1";
  375. canSave = "1";
  376. canSaveDynamicFields = "0";
  377. new GuiTextListCtrl(PostFXEditorNewPFXList) {
  378. columns = "0";
  379. fitParentWidth = "0";
  380. clipColumnText = "0";
  381. rowHeightPadding = "2";
  382. position = "1 1";
  383. extent = "174 221";
  384. minExtent = "8 2";
  385. horizSizing = "width";
  386. vertSizing = "height";
  387. profile = "ToolsGuiListBoxProfile";
  388. visible = "1";
  389. active = "1";
  390. tooltipProfile = "ToolsGuiToolTipProfile";
  391. hovertime = "1000";
  392. isContainer = "0";
  393. canSave = "1";
  394. canSaveDynamicFields = "0";
  395. };
  396. };
  397. new GuiButtonCtrl() {
  398. text = "Done";
  399. groupNum = "-1";
  400. buttonType = "PushButton";
  401. useMouseEvents = "0";
  402. position = "107 251";
  403. extent = "64 22";
  404. minExtent = "8 2";
  405. horizSizing = "left";
  406. vertSizing = "top";
  407. profile = "ToolsGuiButtonProfile";
  408. visible = "1";
  409. active = "1";
  410. command = "PostFXEditor.addNewPostFXs();";
  411. tooltipProfile = "ToolsGuiToolTipProfile";
  412. hovertime = "1000";
  413. isContainer = "0";
  414. canSave = "1";
  415. canSaveDynamicFields = "0";
  416. };
  417. };
  418. };
  419. //--- OBJECT WRITE END ---