DatablockEditorTreeWindow.ed.gui 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. //--- OBJECT WRITE BEGIN ---
  2. %guiContent = new GuiControl() {
  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 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) - 209
  37. SPC getWord(EditorGuiToolbar.extent, 1) - 1;
  38. Extent = "210 324";
  39. MinExtent = "210 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 = "202 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 = "202 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 = "180 18";
  94. profile = "GuiTextEditProfile";
  95. horizSizing = "width";
  96. vertSizing = "bottom";
  97. class = "GuiTreeViewFilterText";
  98. treeView = DatablockEditorTree;
  99. };
  100. new GuiBitmapButtonCtrl() {
  101. bitmap = "tools/gui/images/clear-icon";
  102. groupNum = "-1";
  103. buttonType = "PushButton";
  104. useMouseEvents = "0";
  105. isContainer = "0";
  106. Profile = "ToolsGuiDefaultProfile";
  107. HorizSizing = "left";
  108. VertSizing = "bottom";
  109. position = "185 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 = "202 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 = "198 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 = "202 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 = "202 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 = "196 260";
  247. MinExtent = "8 2";
  248. canSave = "1";
  249. Visible = "1";
  250. tooltipprofile = "ToolsGuiToolTipProfile";
  251. hovertime = "1000";
  252. canSaveDynamicFields = "0";
  253. altCommand = "DatablockEditorPlugin.createDatablock();";
  254. };
  255. };
  256. };
  257. };
  258. new GuiBitmapButtonCtrl() {
  259. bitmap = "tools/gui/images/delete";
  260. groupNum = "-1";
  261. buttonType = "PushButton";
  262. useMouseEvents = "0";
  263. isContainer = "0";
  264. Profile = "ToolsGuiButtonProfile";
  265. HorizSizing = "left";
  266. VertSizing = "bottom";
  267. position = "190 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. bitmap = "tools/gui/images/new";
  281. groupNum = "-1";
  282. buttonType = "PushButton";
  283. useMouseEvents = "0";
  284. isContainer = "0";
  285. Profile = "ToolsGuiButtonProfile";
  286. HorizSizing = "left";
  287. VertSizing = "bottom";
  288. position = "192 25";
  289. Extent = "17 17";
  290. MinExtent = "8 2";
  291. canSave = "1";
  292. Visible = "0";
  293. Command = "DatablockEditorPlugin.createDatablock();";
  294. tooltipprofile = "ToolsGuiToolTipProfile";
  295. tooltip = "Create New Datablock";
  296. hovertime = "1000";
  297. internalName = "CreateSelection";
  298. canSaveDynamicFields = "0";
  299. };
  300. };
  301. };
  302. //--- OBJECT WRITE END ---