DatablockEditorTreeWindow.ed.gui 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404
  1. //--- OBJECT WRITE BEGIN ---
  2. $guiContent = new GuiControl(DatablockEditorGui) {
  3. isContainer = "1";
  4. Profile = "ToolsGuiDefaultProfile";
  5. HorizSizing = "right";
  6. VertSizing = "bottom";
  7. position = "0 0";
  8. Extent = "1024 768";
  9. MinExtent = "8 2";
  10. canSave = "1";
  11. Visible = "1";
  12. tooltipprofile = "ToolsGuiToolTipProfile";
  13. hovertime = "1000";
  14. canSaveDynamicFields = "0";
  15. new GuiWindowCollapseCtrl(DatablockEditorTreeWindow) {
  16. resizeWidth = "1";
  17. resizeHeight = "1";
  18. canMove = "1";
  19. canClose = "0";
  20. canMinimize = "0";
  21. canMaximize = "0";
  22. minSize = "50 50";
  23. closeCommand = "DatablockInspectorTreeWindow.setVisible(false);";
  24. EdgeSnap = "1";
  25. text = ":: Datablock Editor - Library";
  26. Margin = "8 8 8 8";
  27. Padding = "0 0 0 0";
  28. AnchorTop = "1";
  29. AnchorBottom = "0";
  30. AnchorLeft = "1";
  31. AnchorRight = "0";
  32. isContainer = "1";
  33. Profile = "ToolsGuiWindowProfile";
  34. HorizSizing = "windowRelative";
  35. VertSizing = "windowRelative";
  36. Position = getWord($pref::Video::mode, 0) - 360
  37. SPC getWord(EditorGuiToolbar.extent, 1) + 6;
  38. Extent = "360 324";
  39. MinExtent = "300 140";
  40. canSave = "1";
  41. Visible = "1";
  42. tooltipprofile = "ToolsGuiToolTipProfile";
  43. hovertime = "1000";
  44. internalName = "DatablockEditorTreeWindow";
  45. canSaveDynamicFields = "0";
  46. new GuiTabBookCtrl(DatablockEditorTreeTabBook) {
  47. TabPosition = "Top";
  48. TabMargin = "0";
  49. MinTabWidth = "64";
  50. Docking = "Client";
  51. Margin = "3 2 3 3";
  52. Padding = "0 0 0 0";
  53. AnchorTop = "1";
  54. AnchorBottom = "0";
  55. AnchorLeft = "1";
  56. AnchorRight = "0";
  57. isContainer = "1";
  58. Profile = "ToolsGuiTabBookProfile";
  59. HorizSizing = "width";
  60. VertSizing = "height";
  61. position = "4 25";
  62. Extent = "340 294";
  63. MinExtent = "8 2";
  64. canSave = "1";
  65. Visible = "1";
  66. tooltipprofile = "ToolsGuiToolTipProfile";
  67. hovertime = "1000";
  68. internalName = "DatablockEditorTree";
  69. canSaveDynamicFields = "0";
  70. new GuiTabPageCtrl() {
  71. text = "Existing";
  72. maxLength = "1024";
  73. Margin = "0 0 0 0";
  74. Padding = "0 0 0 0";
  75. AnchorTop = "1";
  76. AnchorBottom = "0";
  77. AnchorLeft = "1";
  78. AnchorRight = "0";
  79. isContainer = "1";
  80. Profile = "ToolsGuiEditorTabPage";
  81. HorizSizing = "width";
  82. VertSizing = "height";
  83. position = "0 19";
  84. Extent = "320 276";
  85. MinExtent = "8 2";
  86. canSave = "1";
  87. Visible = "0";
  88. tooltipprofile = "ToolsGuiToolTipProfile";
  89. hovertime = "1000";
  90. canSaveDynamicFields = "0";
  91. new GuiTextEditCtrl( DatablockEditorTreeFilter ) {
  92. position = "2 4";
  93. extent = "300 18";
  94. profile = "ToolsGuiTextEditProfile";
  95. horizSizing = "width";
  96. vertSizing = "bottom";
  97. class = "GuiTreeViewFilterText";
  98. treeView = DatablockEditorTree;
  99. };
  100. new GuiBitmapButtonCtrl() {
  101. bitmapAsset = "ToolsModule:clear_icon_n_image";
  102. groupNum = "-1";
  103. buttonType = "PushButton";
  104. useMouseEvents = "0";
  105. isContainer = "0";
  106. Profile = "ToolsGuiDefaultProfile";
  107. HorizSizing = "left";
  108. VertSizing = "bottom";
  109. position = "320 5";
  110. Extent = "17 17";
  111. MinExtent = "8 2";
  112. canSave = "1";
  113. Visible = "1";
  114. tooltipprofile = "ToolsGuiToolTipProfile";
  115. hovertime = "1000";
  116. canSaveDynamicFields = "0";
  117. class = "GuiTreeViewFilterClearButton";
  118. textCtrl = DatablockEditorTreeFilter;
  119. };
  120. new GuiScrollCtrl() {
  121. willFirstRespond = "1";
  122. hScrollBar = "dynamic";
  123. vScrollBar = "dynamic";
  124. lockHorizScroll = "0";
  125. lockVertScroll = "0";
  126. constantThumbHeight = "0";
  127. childMargin = "0 0";
  128. mouseWheelScrollSpeed = "-1";
  129. Margin = "0 0 0 0";
  130. Padding = "0 0 0 0";
  131. AnchorTop = "1";
  132. AnchorBottom = "0";
  133. AnchorLeft = "1";
  134. AnchorRight = "0";
  135. isContainer = "1";
  136. Profile = "ToolsGuiScrollProfile";
  137. HorizSizing = "width";
  138. VertSizing = "height";
  139. position = "0 25";
  140. Extent = "320 251";
  141. MinExtent = "8 8";
  142. canSave = "1";
  143. Visible = "1";
  144. tooltipprofile = "ToolsGuiToolTipProfile";
  145. hovertime = "1000";
  146. canSaveDynamicFields = "0";
  147. new GuiTreeViewCtrl(DatablockEditorTree) {
  148. tabSize = "16";
  149. textOffset = "2";
  150. fullRowSelect = "0";
  151. itemHeight = "21";
  152. destroyTreeOnSleep = "0";
  153. MouseDragging = "0";
  154. MultipleSelections = "1";
  155. DeleteObjectAllowed = "1";
  156. DragToItemAllowed = "0";
  157. ClearAllOnSingleSelection = "1";
  158. showRoot = "1";
  159. internalNamesOnly = "0";
  160. objectNamesOnly = "0";
  161. compareToObjectID = "0";
  162. isContainer = "1";
  163. Profile = "ToolsGuiTreeViewProfile";
  164. HorizSizing = "right";
  165. VertSizing = "bottom";
  166. position = "1 1";
  167. Extent = "318 21";
  168. MinExtent = "8 8";
  169. canSave = "1";
  170. Visible = "1";
  171. tooltipprofile = "ToolsGuiToolTipProfile";
  172. hovertime = "1000";
  173. canSaveDynamicFields = "0";
  174. };
  175. };
  176. };
  177. new GuiTabPageCtrl(DatablockEditorCreator) {
  178. text = "New";
  179. maxLength = "1024";
  180. Margin = "0 0 0 0";
  181. Padding = "0 0 0 0";
  182. AnchorTop = "1";
  183. AnchorBottom = "0";
  184. AnchorLeft = "1";
  185. AnchorRight = "0";
  186. isContainer = "1";
  187. Profile = "ToolsGuiEditorTabPage";
  188. HorizSizing = "width";
  189. VertSizing = "height";
  190. position = "0 19";
  191. Extent = "340 276";
  192. MinExtent = "8 2";
  193. canSave = "1";
  194. Visible = "1";
  195. tooltipprofile = "ToolsGuiToolTipProfile";
  196. hovertime = "1000";
  197. internalName = "DatablockEditorCreator";
  198. canSaveDynamicFields = "0";
  199. new GuiScrollCtrl() {
  200. willFirstRespond = "1";
  201. hScrollBar = "dynamic";
  202. vScrollBar = "dynamic";
  203. lockHorizScroll = "0";
  204. lockVertScroll = "0";
  205. constantThumbHeight = "0";
  206. childMargin = "0 0";
  207. mouseWheelScrollSpeed = "-1";
  208. Margin = "0 0 0 0";
  209. Padding = "0 0 0 0";
  210. AnchorTop = "1";
  211. AnchorBottom = "0";
  212. AnchorLeft = "1";
  213. AnchorRight = "0";
  214. isContainer = "1";
  215. Profile = "ToolsGuiScrollProfile";
  216. HorizSizing = "width";
  217. VertSizing = "height";
  218. position = "0 0";
  219. Extent = "320 276";
  220. MinExtent = "8 8";
  221. canSave = "1";
  222. Visible = "1";
  223. tooltipprofile = "ToolsGuiToolTipProfile";
  224. hovertime = "1000";
  225. canSaveDynamicFields = "0";
  226. new GuiTreeViewCtrl(DatablockEditorTypeTree) {
  227. tabSize = "16";
  228. textOffset = "2";
  229. fullRowSelect = "0";
  230. itemHeight = "21";
  231. destroyTreeOnSleep = "0";
  232. MouseDragging = "0";
  233. MultipleSelections = "0";
  234. DeleteObjectAllowed = "0";
  235. DragToItemAllowed = "0";
  236. ClearAllOnSingleSelection = "1";
  237. showRoot = "1";
  238. internalNamesOnly = "0";
  239. objectNamesOnly = "0";
  240. compareToObjectID = "1";
  241. isContainer = "1";
  242. Profile = "ToolsGuiTreeViewProfile";
  243. HorizSizing = "right";
  244. VertSizing = "bottom";
  245. position = "1 1";
  246. Extent = "318 260";
  247. MinExtent = "8 2";
  248. canSave = "1";
  249. Visible = "1";
  250. tooltipprofile = "ToolsGuiToolTipProfile";
  251. hovertime = "1000";
  252. canSaveDynamicFields = "0";
  253. altCommand = "DatablockEditorPlugin.pickDatablockPath();";
  254. };
  255. };
  256. };
  257. };
  258. new GuiBitmapButtonCtrl() {
  259. bitmapAsset = "ToolsModule:delete_n_image";
  260. groupNum = "-1";
  261. buttonType = "PushButton";
  262. useMouseEvents = "0";
  263. isContainer = "0";
  264. Profile = "ToolsGuiButtonProfile";
  265. HorizSizing = "left";
  266. VertSizing = "bottom";
  267. position = "336 26";
  268. Extent = "16 16";
  269. MinExtent = "8 2";
  270. canSave = "1";
  271. Visible = "1";
  272. Command = "DatablockEditorPlugin.deleteDatablock();";
  273. tooltipprofile = "ToolsGuiToolTipProfile";
  274. ToolTip = "Delete Datablock";
  275. hovertime = "1000";
  276. internalName = "deleteSelection";
  277. canSaveDynamicFields = "0";
  278. };
  279. new GuiBitmapButtonCtrl() {
  280. bitmapAsset = "ToolsModule:new_n_image";
  281. groupNum = "-1";
  282. buttonType = "PushButton";
  283. useMouseEvents = "0";
  284. isContainer = "0";
  285. Profile = "ToolsGuiButtonProfile";
  286. HorizSizing = "left";
  287. VertSizing = "bottom";
  288. position = "336 25";
  289. Extent = "17 17";
  290. MinExtent = "8 2";
  291. canSave = "1";
  292. Visible = "0";
  293. Command = "DatablockEditorPlugin.pickDatablockPath();";
  294. tooltipprofile = "ToolsGuiToolTipProfile";
  295. tooltip = "Create New Datablock";
  296. hovertime = "1000";
  297. internalName = "CreateSelection";
  298. canSaveDynamicFields = "0";
  299. };
  300. // window / panel buttons
  301. new GuiBitmapButtonCtrl(DatablockEditorGui_UnDockBtn) {
  302. canSaveDynamicFields = "0";
  303. internalName = "";
  304. Enabled = "1";
  305. isContainer = "0";
  306. Profile = "ToolsGuiButtonProfile";
  307. HorizSizing = "left";
  308. VertSizing = "bottom";
  309. Position = "330 1";
  310. Extent = "18 18";
  311. MinExtent = "8 8";
  312. canSave = "1";
  313. Visible = "0";
  314. Command = "DatablockEditorGui.releaseSidePanel();";
  315. tooltipprofile = "ToolsGuiToolTipProfile";
  316. ToolTip = "Detach Sidepanel";
  317. hovertime = "1000";
  318. bitmapAsset = "ToolsModule:panel_undock_n_image";
  319. text = "";
  320. groupNum = "-1";
  321. buttonType = "PushButton";
  322. useMouseEvents = "0";
  323. };
  324. new GuiBitmapButtonCtrl(DatablockEditorGui_DockBtn) {
  325. canSaveDynamicFields = "0";
  326. internalName = "";
  327. Enabled = "1";
  328. isContainer = "0";
  329. Profile = "ToolsGuiButtonProfile";
  330. HorizSizing = "left";
  331. VertSizing = "bottom";
  332. Position = "330 1";
  333. Extent = "18 18";
  334. MinExtent = "8 8";
  335. canSave = "1";
  336. Visible = "0";
  337. Command = "DatablockEditorGui.dockSidePanel();";
  338. tooltipprofile = "ToolsGuiToolTipProfile";
  339. ToolTip = "Dock Sidepanel";
  340. hovertime = "1000";
  341. bitmapAsset = "ToolsModule:panel_dock_n_image";
  342. text = "";
  343. groupNum = "-1";
  344. buttonType = "PushButton";
  345. useMouseEvents = "0";
  346. };
  347. new GuiBitmapButtonCtrl(DatablockEditorGui_HideBtn) {
  348. canSaveDynamicFields = "0";
  349. internalName = "";
  350. Enabled = "1";
  351. isContainer = "0";
  352. Profile = "ToolsGuiButtonProfile";
  353. HorizSizing = "left";
  354. VertSizing = "bottom";
  355. Position = "312 1";
  356. Extent = "18 18";
  357. MinExtent = "8 8";
  358. canSave = "1";
  359. Visible = "1";
  360. Command = "DatablockEditorGui.hideSidePanel();";
  361. tooltipprofile = "ToolsGuiToolTipProfile";
  362. ToolTip = "Hide Sidepanel";
  363. hovertime = "1000";
  364. bitmapAsset = "ToolsModule:panel_hide_n_image";
  365. text = "";
  366. groupNum = "-1";
  367. buttonType = "PushButton";
  368. useMouseEvents = "0";
  369. };
  370. new GuiBitmapButtonCtrl(DatablockEditorGui_ShowBtn) {
  371. canSaveDynamicFields = "0";
  372. internalName = "";
  373. Enabled = "1";
  374. isContainer = "0";
  375. Profile = "ToolsGuiButtonProfile";
  376. HorizSizing = "right";
  377. VertSizing = "bottom";
  378. Position = "4 1";
  379. Extent = "18 18";
  380. MinExtent = "8 8";
  381. canSave = "1";
  382. Visible = "1";
  383. Command = "DatablockEditorGui.showSidePanel();";
  384. tooltipprofile = "ToolsGuiToolTipProfile";
  385. ToolTip = "Show Sidepanel";
  386. hovertime = "1000";
  387. bitmapAsset = "ToolsModule:panel_show_n_image";
  388. text = "";
  389. groupNum = "-1";
  390. buttonType = "PushButton";
  391. useMouseEvents = "0";
  392. };
  393. };
  394. };
  395. //--- OBJECT WRITE END ---