profiles.ed.tscript 36 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247
  1. //-----------------------------------------------------------------------------
  2. // Copyright (c) 2012 GarageGames, LLC
  3. //
  4. // Permission is hereby granted, free of charge, to any person obtaining a copy
  5. // of this software and associated documentation files (the "Software"), to
  6. // deal in the Software without restriction, including without limitation the
  7. // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  8. // sell copies of the Software, and to permit persons to whom the Software is
  9. // furnished to do so, subject to the following conditions:
  10. //
  11. // The above copyright notice and this permission notice shall be included in
  12. // all copies or substantial portions of the Software.
  13. //
  14. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  17. // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18. // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  19. // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  20. // IN THE SOFTWARE.
  21. //-----------------------------------------------------------------------------
  22. function execEditorProfilesCS()
  23. {
  24. exec("./profiles.ed." @ $TorqueScriptFileExtension);
  25. }
  26. $Gui::clipboardFile = expandFilename("./clipboard.gui");
  27. if( !isObject( ToolsGuiDefaultProfile ) )
  28. new GuiControlProfile (ToolsGuiDefaultProfile)
  29. {
  30. tab = false;
  31. canKeyFocus = false;
  32. hasBitmapArray = false;
  33. mouseOverSelected = false;
  34. // fill color
  35. opaque = false;
  36. fillColor = EditorSettings.value("Theme/tabsColor");
  37. fillColorHL = EditorSettings.value("Theme/tabsGLColor");
  38. fillColorSEL = EditorSettings.value("Theme/tabsSELColor");
  39. fillColorNA = EditorSettings.value("Theme/tabsSELColor");
  40. // border color
  41. border = 0;
  42. borderColor = EditorSettings.value("Theme/dividerDarkColor");
  43. borderColorHL = EditorSettings.value("Theme/dividerMidColor");
  44. borderColorNA = EditorSettings.value("Theme/dividerLightColor");
  45. // font
  46. fontType = "Noto Sans";
  47. fontSize = 14;
  48. fontCharset = ANSI;
  49. fontColor = EditorSettings.value("Theme/fieldTextColor");
  50. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  51. fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
  52. fontColorSEL= EditorSettings.value("Theme/fieldTextSELColor");
  53. // bitmap information
  54. bitmapAsset = "";
  55. bitmapBase = "";
  56. textOffset = "0 0";
  57. // used by guiTextControl
  58. modal = true;
  59. justify = "left";
  60. autoSizeWidth = false;
  61. autoSizeHeight = false;
  62. returnTab = false;
  63. numbersOnly = false;
  64. cursorColor = "215 215 215 255";
  65. // sounds
  66. //soundButtonDown = "";
  67. //soundButtonOver = "";
  68. };
  69. if( !isObject( ToolsGuiSolidDefaultProfile ) )
  70. new GuiControlProfile (ToolsGuiSolidDefaultProfile : ToolsGuiDefaultProfile)
  71. {
  72. opaque = true;
  73. border = true;
  74. category = "Tools";
  75. };
  76. if( !isObject( ToolsGuiDefaultNonModalProfile ) )
  77. new GuiControlProfile (ToolsGuiDefaultNonModalProfile : ToolsGuiDefaultProfile)
  78. {
  79. opaque = false;
  80. modal = false;
  81. category = "Tools";
  82. };
  83. if( !isObject( ToolsGuiTransparentProfile ) )
  84. new GuiControlProfile (ToolsGuiTransparentProfile)
  85. {
  86. opaque = false;
  87. border = false;
  88. category = "Tools";
  89. };
  90. if( !isObject( ToolsGuiGroupBorderProfile ) )
  91. new GuiControlProfile( ToolsGuiGroupBorderProfile )
  92. {
  93. border = false;
  94. opaque = false;
  95. hasBitmapArray = true;
  96. bitmapAsset = "ToolsModule:group_border_image";
  97. category = "Tools";
  98. };
  99. if( !isObject( ToolsGuiTabBorderProfile ) )
  100. new GuiControlProfile( ToolsGuiTabBorderProfile )
  101. {
  102. border = false;
  103. opaque = false;
  104. hasBitmapArray = true;
  105. bitmapAsset = "ToolsModule:tab_border_image";
  106. category = "Tools";
  107. };
  108. if( !isObject( ToolsGuiToolTipProfile ) )
  109. new GuiControlProfile (ToolsGuiToolTipProfile)
  110. {
  111. // fill color
  112. fillColor = EditorSettings.value("Theme/tooltipBGColor");
  113. // border color
  114. borderColor = EditorSettings.value("Theme/tooltipDivColor");
  115. // font
  116. fontType = "Noto Sans";
  117. fontSize = 14;
  118. fontColor = EditorSettings.value("Theme/tooltipTextColor");
  119. category = "Tools";
  120. };
  121. if( !isObject( ToolsGuiModelessDialogProfile ) )
  122. new GuiControlProfile( ToolsGuiModelessDialogProfile )
  123. {
  124. modal = false;
  125. category = "Tools";
  126. };
  127. if( !isObject( ToolsGuiFrameSetProfile ) )
  128. new GuiControlProfile (ToolsGuiFrameSetProfile)
  129. {
  130. fillColor = EditorSettings.value("Theme/windowBackgroundColor");
  131. borderColor = "246 245 244";
  132. border = 1;
  133. opaque = true;
  134. border = true;
  135. category = "Tools";
  136. };
  137. if( !isObject( ToolsGuiWindowProfile ) )
  138. new GuiControlProfile (ToolsGuiWindowProfile)
  139. {
  140. opaque = false;
  141. border = 1;
  142. fillColor = EditorSettings.value("Theme/tabsColor");
  143. fillColorHL = EditorSettings.value("Theme/tabsColor");
  144. fillColorNA = EditorSettings.value("Theme/tabsColor");
  145. fontColor = EditorSettings.value("Theme/headerTextColor");
  146. fontColorHL = EditorSettings.value("Theme/headerTextColor");
  147. bevelColorHL = "255 255 255";
  148. bevelColorLL = "0 0 0";
  149. text = "untitled";
  150. bitmapAsset = "ToolsModule:window_image";
  151. textOffset = "10 4";
  152. hasBitmapArray = true;
  153. justify = "left";
  154. category = "Tools";
  155. };
  156. if( !isObject( ToolsGuiToolbarWindowProfile ) )
  157. new GuiControlProfile(ToolsGuiToolbarWindowProfile : ToolsGuiWindowProfile)
  158. {
  159. bitmapAsset = "ToolsModule:toolbar_window_image";
  160. text = "";
  161. category = "Tools";
  162. };
  163. if( !isObject( ToolsGuiWindowCollapseProfile ) )
  164. new GuiControlProfile (ToolsGuiWindowCollapseProfile : ToolsGuiWindowProfile)
  165. {
  166. category = "Tools";
  167. };
  168. if( !isObject( ToolsGuiTextProfile ) )
  169. new GuiControlProfile (ToolsGuiTextProfile)
  170. {
  171. opaque = true;
  172. justify = "left";
  173. fontColor = EditorSettings.value("Theme/headerTextColor");
  174. category = "Tools";
  175. };
  176. if( !isObject( ToolsGuiTextBoldProfile ) )
  177. new GuiControlProfile (ToolsGuiTextBoldProfile : ToolsGuiTextProfile)
  178. {
  179. fontType = "Noto Sans Bold";
  180. };
  181. if( !isObject( ToolsGuiTextBoldCenterProfile ) )
  182. new GuiControlProfile (ToolsGuiTextBoldCenterProfile : ToolsGuiTextProfile)
  183. {
  184. fontColor = EditorSettings.value("Theme/headerTextColor");
  185. fontType = "Noto Sans Bold";
  186. fontSize = 16;
  187. justify = "center";
  188. category = "Tools";
  189. };
  190. if( !isObject( ToolsGuiTextRightProfile ) )
  191. new GuiControlProfile (ToolsGuiTextRightProfile : ToolsGuiTextProfile)
  192. {
  193. justify = "right";
  194. category = "Tools";
  195. };
  196. if( !isObject( ToolsGuiTextBoldRightProfile ) )
  197. new GuiControlProfile (ToolsGuiTextBoldRightProfile : ToolsGuiTextRightProfile)
  198. {
  199. fontType = "Noto Sans Bold";
  200. fontSize = 16;
  201. };
  202. if( !isObject( ToolsGuiTextCenterProfile ) )
  203. new GuiControlProfile (ToolsGuiTextCenterProfile : ToolsGuiTextProfile)
  204. {
  205. justify = "center";
  206. category = "Tools";
  207. };
  208. if( !isObject( ToolsGuiInspectorTitleTextProfile ) )
  209. new GuiControlProfile (ToolsGuiInspectorTitleTextProfile)
  210. {
  211. fontColor = EditorSettings.value("Theme/headerTextColor");
  212. category = "Tools";
  213. };
  214. if( !isObject( ToolsGuiAutoSizeTextProfile ) )
  215. new GuiControlProfile (ToolsGuiAutoSizeTextProfile)
  216. {
  217. fontColor = "215 215 215";
  218. autoSizeWidth = true;
  219. autoSizeHeight = true;
  220. category = "Tools";
  221. };
  222. if( !isObject( ToolsGuiMLTextProfile ) )
  223. new GuiControlProfile( ToolsGuiMLTextProfile )
  224. {
  225. fontColor = EditorSettings.value("Theme/fieldTextColor");
  226. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  227. fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
  228. fontColorLink = EditorSettings.value("Theme/fieldTextColor");
  229. fontColorLinkHL = EditorSettings.value("Theme/fieldTextHLColor");
  230. autoSizeWidth = true;
  231. autoSizeHeight = true;
  232. border = false;
  233. category = "Tools";
  234. };
  235. if( !isObject( ToolsGuiTextArrayProfile ) )
  236. new GuiControlProfile( ToolsGuiTextArrayProfile : ToolsGuiTextProfile )
  237. {
  238. fontColor = EditorSettings.value("Theme/fieldTextColor");
  239. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  240. fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
  241. fillColor = EditorSettings.value("Theme/fieldBGColor");
  242. fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
  243. fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
  244. border = false;
  245. category = "Tools";
  246. };
  247. if( !isObject( ToolsGuiTextListProfile ) )
  248. new GuiControlProfile( ToolsGuiTextListProfile : ToolsGuiTextProfile )
  249. {
  250. tab = true;
  251. canKeyFocus = true;
  252. category = "Tools";
  253. };
  254. if( !isObject( ToolsGuiTextEditProfile ) )
  255. new GuiControlProfile( ToolsGuiTextEditProfile )
  256. {
  257. opaque = true;
  258. bitmapAsset = "ToolsModule:textEditFrame_image";
  259. hasBitmapArray = true;
  260. border = -2; // fix to display textEdit img
  261. //borderWidth = "1"; // fix to display textEdit img
  262. //borderColor = "100 100 100";
  263. fillColor = EditorSettings.value("Theme/fieldBGColor");
  264. fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
  265. fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
  266. fontColor = EditorSettings.value("Theme/fieldTextColor");
  267. fontColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
  268. fontColorHL = EditorSettings.value("Theme/fieldTextSELColor");
  269. fontColorNA = EditorSettings.value("Theme/fieldTextNAColor");
  270. textOffset = "4 2";
  271. autoSizeWidth = false;
  272. autoSizeHeight = true;
  273. justify = "left";
  274. tab = true;
  275. canKeyFocus = true;
  276. category = "Tools";
  277. };
  278. if( !isObject( ToolsGuiNumericTextEditProfile ) )
  279. new GuiControlProfile( ToolsGuiNumericTextEditProfile : ToolsGuiTextEditProfile )
  280. {
  281. numbersOnly = true;
  282. category = "Tools";
  283. };
  284. if( !isObject( ToolsGuiNumericDropSliderTextProfile ) )
  285. new GuiControlProfile( ToolsGuiNumericDropSliderTextProfile : ToolsGuiTextEditProfile )
  286. {
  287. bitmapAsset = "ToolsModule:textEditSliderBox_image";
  288. category = "Tools";
  289. };
  290. if( !isObject( ToolsGuiRLProgressBitmapProfile ) )
  291. new GuiControlProfile( ToolsGuiRLProgressBitmapProfile )
  292. {
  293. border = false;
  294. hasBitmapArray = true;
  295. bitmapAsset = "ToolsModule:rl_loadingbar_image";
  296. category = "Tools";
  297. };
  298. if( !isObject( ToolsGuiProgressTextProfile ) )
  299. new GuiControlProfile( ToolsGuiProgressTextProfile )
  300. {
  301. fontSize = "14";
  302. fontType = "Noto Sans";
  303. fontColor = "215 215 215";
  304. justify = "center";
  305. category = "Tools";
  306. };
  307. if( !isObject( ToolsGuiButtonProfile ) )
  308. new GuiControlProfile( ToolsGuiButtonProfile )
  309. {
  310. opaque = true;
  311. border = true;
  312. fillColor = EditorSettings.value("Theme/tabsColor");
  313. fillColorHL = EditorSettings.value("Theme/tabsGLColor");
  314. fillColorSEL = EditorSettings.value("Theme/tabsSELColor");
  315. fillColorNA = EditorSettings.value("Theme/tabsSELColor");
  316. fontColor = EditorSettings.value("Theme/fieldTextColor");
  317. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  318. fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
  319. fixedExtent = false;
  320. justify = "center";
  321. canKeyFocus = false;
  322. hasBitmapArray = false;
  323. category = "Tools";
  324. };
  325. if( !isObject( ToolsGuiThumbHighlightButtonProfile ) )
  326. new GuiControlProfile( ToolsGuiThumbHighlightButtonProfile : ToolsGuiButtonProfile )
  327. {
  328. bitmapAsset = "ToolsModule:thumbHightlightButton_image";
  329. category = "Tools";
  330. };
  331. if( !isObject( ToolsGuiIconButtonProfile ) )
  332. new GuiControlProfile( ToolsGuiIconButtonProfile )
  333. {
  334. opaque = true;
  335. border = true;
  336. fontColor = EditorSettings.value("Theme/fieldTextColor");
  337. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  338. fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
  339. fixedExtent = false;
  340. justify = "center";
  341. canKeyFocus = false;
  342. bitmapAsset = "ToolsModule:iconbutton_image";
  343. hasBitmapArray = true;
  344. category = "Tools";
  345. };
  346. if( !isObject( ToolsGuiIconButtonSmallProfile ) )
  347. new GuiControlProfile( ToolsGuiIconButtonSmallProfile : ToolsGuiIconButtonProfile )
  348. {
  349. bitmapAsset = "ToolsModule:iconbuttonsmall_image";
  350. category = "Tools";
  351. };
  352. if( !isObject( ToolsGuiEditorTabPage ) )
  353. new GuiControlProfile(ToolsGuiEditorTabPage)
  354. {
  355. opaque = true;
  356. border = false;
  357. fillColor = EditorSettings.value("Theme/tabsColor");
  358. fontColor = EditorSettings.value("Theme/fieldTextColor");
  359. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  360. borderColor = EditorSettings.value("Theme/dividerDarkColor");
  361. fixedExtent = false;
  362. justify = "left";
  363. canKeyFocus = false;
  364. bitmapAsset = "ToolsModule:tab_image";
  365. hasBitmapArray = true;
  366. category = "Tools";
  367. };
  368. if( !isObject( ToolsGuiCheckBoxProfile ) )
  369. new GuiControlProfile( ToolsGuiCheckBoxProfile )
  370. {
  371. opaque = false;
  372. fillColor = EditorSettings.value("Theme/fieldBGColor");
  373. border = false;
  374. borderColor = EditorSettings.value("Theme/dividerDarkColor");
  375. fontSize = 14;
  376. fontColor = EditorSettings.value("Theme/fieldTextColor");
  377. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  378. fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
  379. fixedExtent = true;
  380. justify = "left";
  381. bitmapAsset = "ToolsModule:checkbox_image";
  382. hasBitmapArray = true;
  383. category = "Tools";
  384. };
  385. if( !isObject( ToolsGuiCheckBoxListProfile ) )
  386. new GuiControlProfile( ToolsGuiCheckBoxListProfile : ToolsGuiCheckBoxProfile)
  387. {
  388. bitmapAsset = "ToolsModule:checkbox_list_image";
  389. category = "Tools";
  390. };
  391. if( !isObject( ToolsGuiCheckBoxListFlipedProfile ) )
  392. new GuiControlProfile( ToolsGuiCheckBoxListFlipedProfile : ToolsGuiCheckBoxProfile)
  393. {
  394. bitmapAsset = "ToolsModule:checkbox_list_fliped_image";
  395. category = "Tools";
  396. };
  397. if( !isObject( ToolsGuiInspectorCheckBoxTitleProfile ) )
  398. new GuiControlProfile( ToolsGuiInspectorCheckBoxTitleProfile : ToolsGuiCheckBoxProfile ){
  399. fontColor = EditorSettings.value("Theme/fieldTextColor");
  400. category = "Tools";
  401. };
  402. if( !isObject( ToolsGuiRadioProfile ) )
  403. new GuiControlProfile( ToolsGuiRadioProfile )
  404. {
  405. fontSize = 14;
  406. fillColor = EditorSettings.value("Theme/fieldBGColor");
  407. fontColor = EditorSettings.value("Theme/fieldTextColor");
  408. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  409. fixedExtent = true;
  410. bitmapAsset = "ToolsModule:radioButton_image";
  411. hasBitmapArray = true;
  412. category = "Tools";
  413. };
  414. if( !isObject( ToolsGuiScrollProfile ) )
  415. new GuiControlProfile( ToolsGuiScrollProfile )
  416. {
  417. opaque = true;
  418. fillColor = EditorSettings.value("Theme/tabsColor");
  419. fontColor = EditorSettings.value("Theme/fieldTextColor");
  420. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  421. borderColor = EditorSettings.value("Theme/dividerDarkColor");
  422. border = true;
  423. bitmapAsset = "ToolsModule:scrollBar_image";
  424. hasBitmapArray = true;
  425. category = "Tools";
  426. };
  427. if( !isObject( ToolsGuiOverlayProfile ) )
  428. new GuiControlProfile( ToolsGuiOverlayProfile )
  429. {
  430. opaque = false;
  431. fillColor = EditorSettings.value("Theme/windowBackgroundColor");
  432. fontColor = EditorSettings.value("Theme/fieldTextColor");
  433. fontColorHL = EditorSettings.value("Theme/fieldTextGLColor");
  434. category = "Tools";
  435. };
  436. if( !isObject( ToolsGuiSliderProfile ) )
  437. new GuiControlProfile( ToolsGuiSliderProfile )
  438. {
  439. bitmapAsset = "ToolsModule:slider_image";
  440. category = "Tools";
  441. };
  442. if( !isObject( ToolsGuiSliderBoxProfile ) )
  443. new GuiControlProfile( ToolsGuiSliderBoxProfile )
  444. {
  445. bitmapAsset = "ToolsModule:slider_w_box_image";
  446. category = "Tools";
  447. };
  448. if( !isObject( ToolsGuiPopupMenuItemBorder ) )
  449. new GuiControlProfile( ToolsGuiPopupMenuItemBorder : ToolsGuiButtonProfile )
  450. {
  451. opaque = true;
  452. border = true;
  453. fontColor = EditorSettings.value("Theme/fieldTextColor");
  454. fontColorHL = EditorSettings.value("Theme/fieldTextGLColor");
  455. fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
  456. fixedExtent = false;
  457. justify = "center";
  458. canKeyFocus = false;
  459. bitmapAsset = "ToolsModule:button_image";
  460. category = "Tools";
  461. };
  462. if( !isObject( ToolsGuiPopUpMenuDefault ) )
  463. new GuiControlProfile( ToolsGuiPopUpMenuDefault : ToolsGuiDefaultProfile )
  464. {
  465. opaque = true;
  466. mouseOverSelected = true;
  467. textOffset = "3 3";
  468. border = 0;
  469. borderThickness = 0;
  470. fixedExtent = true;
  471. bitmapAsset = "ToolsModule:scrollBar_image";
  472. hasBitmapArray = true;
  473. profileForChildren = ToolsGuiPopupMenuItemBorder;
  474. fillColor = EditorSettings.value("Theme/fieldBGColor");//"255 255 255";//100
  475. fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");//"91 101 116";
  476. fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");//"91 101 116";
  477. // font color is black
  478. fontColor = EditorSettings.value("Theme/fieldTextColor");//"215 215 215";
  479. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");//"215 215 215";
  480. fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");//"215 215 215";
  481. fontColorNA = EditorSettings.value("Theme/fieldTextColor");//"215 215 215";
  482. borderColor = EditorSettings.value("Theme/dividerDarkColor");
  483. category = "Tools";
  484. };
  485. if( !isObject( ToolsGuiPopUpMenuProfile ) )
  486. new GuiControlProfile( ToolsGuiPopUpMenuProfile : ToolsGuiPopUpMenuDefault )
  487. {
  488. textOffset = "6 4";
  489. bitmapAsset = "ToolsModule:dropDown_image";
  490. hasBitmapArray = true;
  491. border = 1;
  492. profileForChildren = ToolsGuiPopUpMenuDefault;
  493. category = "Tools";
  494. };
  495. if( !isObject( ToolsGuiPopUpMenuTabProfile ) )
  496. new GuiControlProfile( ToolsGuiPopUpMenuTabProfile : ToolsGuiPopUpMenuDefault )
  497. {
  498. bitmapAsset = "ToolsModule:dropDown_tab_image";
  499. textOffset = "6 4";
  500. canKeyFocus = true;
  501. hasBitmapArray = true;
  502. border = 1;
  503. profileForChildren = ToolsGuiPopUpMenuDefault;
  504. category = "Tools";
  505. };
  506. if( !isObject( ToolsGuiPopUpMenuEditProfile ) )
  507. new GuiControlProfile( ToolsGuiPopUpMenuEditProfile : ToolsGuiPopUpMenuDefault )
  508. {
  509. textOffset = "6 4";
  510. canKeyFocus = true;
  511. bitmapAsset = "ToolsModule:dropDown_image";
  512. hasBitmapArray = true;
  513. border = 1;
  514. profileForChildren = ToolsGuiPopUpMenuDefault;
  515. category = "Tools";
  516. };
  517. if( !isObject( ToolsGuiListBoxProfile ) )
  518. new GuiControlProfile( ToolsGuiListBoxProfile )
  519. {
  520. fillColorHL = EditorSettings.value("Theme/windowBackgroundColor");
  521. fillColorNA = EditorSettings.value("Theme/windowBackgroundColor");
  522. fontColor = EditorSettings.value("Theme/fieldTextColor");
  523. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  524. fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
  525. tab = true;
  526. canKeyFocus = true;
  527. category = "Tools";
  528. };
  529. if( !isObject( ToolsGuiTabBookProfile ) )
  530. new GuiControlProfile( ToolsGuiTabBookProfile )
  531. {
  532. fillColorHL = EditorSettings.value("Theme/windowBackgroundColor");
  533. fillColorNA = EditorSettings.value("Theme/windowBackgroundColor");
  534. fontColor = EditorSettings.value("Theme/headerTextColor");
  535. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  536. fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
  537. fontType = "Noto Sans";
  538. fontSize = 14;
  539. justify = "center";
  540. bitmapAsset = "ToolsModule:tab_image";
  541. tabWidth = 65;
  542. tabHeight = 25;
  543. tabPosition = "Top";
  544. tabRotation = "Horizontal";
  545. textOffset = "10 0";
  546. tab = true;
  547. cankeyfocus = true;
  548. category = "Tools";
  549. };
  550. if( !isObject( ToolsGuiTabBookNoBitmapProfile ) )
  551. new GuiControlProfile( ToolsGuiTabBookNoBitmapProfile : ToolsGuiTabBookProfile )
  552. {
  553. bitmapAsset = "";
  554. category = "Tools";
  555. };
  556. if( !isObject( ToolsGuiTabPageProfile ) )
  557. new GuiControlProfile( ToolsGuiTabPageProfile : ToolsGuiDefaultProfile )
  558. {
  559. fontType = "Noto Sans";
  560. fontSize = 10;
  561. justify = "center";
  562. bitmapAsset = "ToolsModule:tab_image";
  563. opaque = false;
  564. fillColor = "240 239 238";
  565. category = "Tools";
  566. };
  567. if( !isObject( ToolsGuiTreeViewProfile ) )
  568. new GuiControlProfile( ToolsGuiTreeViewProfile )
  569. {
  570. bitmapAsset = "ToolsModule:treeView_image";
  571. autoSizeHeight = true;
  572. canKeyFocus = true;
  573. fillColor = EditorSettings.value("Theme/windowBackgroundColor");
  574. fillColorHL = "116 116 116";
  575. fillColorSEL = "91 101 116";
  576. fillColorNA = "40 40 40";
  577. fontColor = "215 215 215";
  578. fontColorHL = "240 240 240";
  579. fontColorSEL= "240 240 240";
  580. fontColorNA = "150 150 150";
  581. borderColor = "34 34 34";
  582. borderColorHL = "34 34 34";
  583. fontSize = 14;
  584. opaque = false;
  585. border = false;
  586. category = "Tools";
  587. fontColors[9] = "0 128 128"; //for active/selection of elements
  588. };
  589. if( !isObject( ToolsGuiTextPadProfile ) )
  590. new GuiControlProfile( ToolsGuiTextPadProfile )
  591. {
  592. fontType = ($platform $= "macos") ? "Monaco" : "Lucida Console";
  593. fontSize = ($platform $= "macos") ? 13 : 12;
  594. tab = true;
  595. canKeyFocus = true;
  596. // Deviate from the Default
  597. opaque=true;
  598. fillColor = EditorSettings.value("Theme/windowBackgroundColor");
  599. fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
  600. fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
  601. fontColor = EditorSettings.value("Theme/fieldTextColor");
  602. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  603. fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
  604. cursorColor = EditorSettings.value("Theme/fieldTextSELColor");
  605. border = 0;
  606. category = "Tools";
  607. };
  608. if( !isObject( ToolsGuiFormProfile ) )
  609. new GuiControlProfile( ToolsGuiFormProfile : ToolsGuiTextProfile )
  610. {
  611. opaque = false;
  612. border = 5;
  613. justify = "center";
  614. profileForChildren = ToolsGuiButtonProfile;
  615. opaque = false;
  616. hasBitmapArray = true;
  617. bitmapAsset = "ToolsModule:button_image";
  618. category = "Tools";
  619. };
  620. // ----------------------------------------------------------------------------
  621. singleton GuiControlProfile( GuiEditorClassProfile )
  622. {
  623. opaque = true;
  624. fillColor = "232 232 232";
  625. border = 1;
  626. borderColor = "42 42 42 140";
  627. borderColorHL = "127 127 127";
  628. fontColor = "215 215 215";
  629. fontColorHL = "50 50 50";
  630. fixedExtent = true;
  631. justify = "center";
  632. bitmapAsset = "ToolsModule:scrollBar_image";
  633. hasBitmapArray = true;
  634. category = "Editor";
  635. };
  636. singleton GuiControlProfile( GuiBackFillProfile )
  637. {
  638. opaque = true;
  639. fillColor = "0 94 94";
  640. border = true;
  641. borderColor = "255 128 128";
  642. fontType = "Noto Sans";
  643. fontSize = 12;
  644. fontColor = "215 215 215";
  645. fontColorHL = "50 50 50";
  646. fixedExtent = true;
  647. justify = "center";
  648. category = "Editor";
  649. };
  650. singleton GuiControlProfile( GuiControlListPopupProfile )
  651. {
  652. opaque = true;
  653. fillColor = EditorSettings.value("Theme/windowBackgroundColor");
  654. fillColorHL = "91 101 116";
  655. border = false;
  656. //borderColor = "0 0 0";
  657. fontColor = "215 215 215";
  658. fontColorHL = "240 240 240";
  659. fontColorNA = "50 50 50";
  660. textOffset = "0 2";
  661. autoSizeWidth = false;
  662. autoSizeHeight = true;
  663. tab = true;
  664. canKeyFocus = true;
  665. bitmapAsset = "ToolsModule:scrollBar_image";
  666. hasBitmapArray = true;
  667. category = "Editor";
  668. };
  669. singleton GuiControlProfile( GuiSceneGraphEditProfile )
  670. {
  671. canKeyFocus = true;
  672. tab = true;
  673. category = "Editor";
  674. };
  675. singleton GuiControlProfile( GuiInspectorButtonProfile : ToolsGuiButtonProfile )
  676. {
  677. //border = 1;
  678. justify = "Center";
  679. category = "Editor";
  680. };
  681. singleton GuiControlProfile( GuiInspectorSwatchButtonProfile )
  682. {
  683. borderColor = EditorSettings.value("Theme/dividerDarkColor");
  684. borderColorNA = EditorSettings.value("Theme/dividerMidColor");
  685. fillColorNA = EditorSettings.value("Theme/fieldBGColor");
  686. borderColorHL = EditorSettings.value("Theme/dividerLightColor");
  687. category = "Editor";
  688. };
  689. singleton GuiControlProfile( GuiInspectorTextEditProfile )
  690. {
  691. // Transparent Background
  692. opaque = true;
  693. fillColor = EditorSettings.value("Theme/fieldBGColor");
  694. fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
  695. fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
  696. fillColorNA = EditorSettings.value("Theme/fieldBGSELColor");
  697. // No Border (Rendered by field control)
  698. border = false;
  699. tab = true;
  700. canKeyFocus = true;
  701. // font
  702. fontType = "Noto Sans";
  703. fontSize = 14;
  704. fontColor = EditorSettings.value("Theme/fieldTextColor");
  705. fontColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
  706. fontColorHL = EditorSettings.value("Theme/fieldTextSELColor");
  707. fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
  708. category = "Editor";
  709. };
  710. singleton GuiControlProfile( GuiDropdownTextEditProfile : ToolsGuiTextEditProfile )
  711. {
  712. bitmapAsset = "ToolsModule:dropdown_textEdit_image";
  713. category = "Editor";
  714. };
  715. singleton GuiControlProfile( GuiInspectorTextEditRightProfile : GuiInspectorTextEditProfile )
  716. {
  717. justify = "right";
  718. category = "Editor";
  719. };
  720. singleton GuiControlProfile( GuiInspectorGroupProfile )
  721. {
  722. fontType = "Noto Sans";
  723. fontSize = "14";
  724. fontColor = EditorSettings.value("Theme/fieldTextColor");
  725. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  726. fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
  727. justify = "left";
  728. opaque = false;
  729. border = false;
  730. bitmapAsset = "ToolsModule:rollout_image";
  731. textOffset = "20 0";
  732. category = "Editor";
  733. };
  734. singleton GuiControlProfile( GuiInspectorFieldProfile)
  735. {
  736. // fill color
  737. opaque = true;
  738. fillColor = EditorSettings.value("Theme/fieldBGColor");
  739. fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
  740. fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
  741. fillColorNA = EditorSettings.value("Theme/fieldBGSELColor");
  742. // border color
  743. border = false;
  744. borderColor = EditorSettings.value("Theme/dividerDarkColor");
  745. borderColorHL = EditorSettings.value("Theme/dividerMidColor");
  746. borderColorNA = EditorSettings.value("Theme/dividerLightColor");
  747. //bevelColorHL = "255 255 255";
  748. //bevelColorLL = "0 0 0";
  749. // font
  750. fontType = "Noto Sans";
  751. fontSize = 14;
  752. fontColor = EditorSettings.value("Theme/fieldTextColor");
  753. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  754. fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
  755. textOffset = "10 0";
  756. tab = true;
  757. canKeyFocus = true;
  758. category = "Editor";
  759. };
  760. /*
  761. singleton GuiControlProfile( GuiInspectorMultiFieldProfile : GuiInspectorFieldProfile )
  762. {
  763. opaque = true;
  764. fillColor = "50 50 230 30";
  765. };
  766. */
  767. singleton GuiControlProfile( GuiInspectorMultiFieldDifferentProfile : GuiInspectorFieldProfile )
  768. {
  769. border = true;
  770. borderColor = EditorSettings.value("Theme/dividerMidColor");
  771. };
  772. singleton GuiControlProfile( GuiInspectorDynamicFieldProfile : GuiInspectorFieldProfile )
  773. {
  774. // Transparent Background
  775. opaque = true;
  776. fillColor = EditorSettings.value("Theme/fieldBGColor");
  777. fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
  778. // No Border (Rendered by field control)
  779. border = false;
  780. tab = true;
  781. canKeyFocus = true;
  782. // font
  783. fontType = "Noto Sans";
  784. fontSize = 14;
  785. fontColor = EditorSettings.value("Theme/headerTextColor");
  786. fontColorSEL = EditorSettings.value("Theme/fieldTextHLColor");
  787. fontColorHL = EditorSettings.value("Theme/fieldTextSELColor");
  788. fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
  789. category = "Editor";
  790. };
  791. singleton GuiControlProfile( GuiRolloutProfile )
  792. {
  793. border = 0;
  794. borderColor = EditorSettings.value("Theme/dividerLightColor");
  795. fontColor = EditorSettings.value("Theme/fieldTextColor");
  796. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  797. fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
  798. hasBitmapArray = true;
  799. bitmapAsset = "ToolsModule:rollout_image";
  800. textoffset = "17 0";
  801. category = "Editor";
  802. };
  803. singleton GuiControlProfile( GuiInspectorRolloutProfile0 )
  804. {
  805. // font
  806. fontType = "Noto Sans";
  807. fontSize = 14;
  808. fontColor = "32 32 32";
  809. fontColorHL = "32 100 100";
  810. fontColorNA = "215 215 215";
  811. justify = "left";
  812. opaque = false;
  813. border = 0;
  814. borderColor = "190 190 190";
  815. borderColorHL = "156 156 156";
  816. borderColorNA = "64 64 64";
  817. bitmapAsset = "ToolsModule:rollout_plusminus_header_image";
  818. textOffset = "20 0";
  819. category = "Editor";
  820. };
  821. singleton GuiControlProfile( GuiInspectorStackProfile )
  822. {
  823. opaque = false;
  824. border = false;
  825. category = "Editor";
  826. fillColor = EditorSettings.value("Theme/tabsColor");
  827. fillColorHL = EditorSettings.value("Theme/tabsHLColor");
  828. fontColor = EditorSettings.value("Theme/fieldTextColor");
  829. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  830. fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
  831. };
  832. singleton GuiControlProfile( GuiInspectorProfile : GuiInspectorFieldProfile )
  833. {
  834. opaque = true;
  835. fillColor = EditorSettings.value("Theme/windowBackgroundColor");
  836. border = 0;
  837. cankeyfocus = true;
  838. tab = true;
  839. category = "Editor";
  840. };
  841. singleton GuiControlProfile( GuiInspectorInfoProfile : GuiInspectorFieldProfile )
  842. {
  843. opaque = true;
  844. fillColor = EditorSettings.value("Theme/windowBackgroundColor");
  845. border = 0;
  846. cankeyfocus = true;
  847. tab = true;
  848. category = "Editor";
  849. };
  850. singleton GuiControlProfile( GuiInspectorBackgroundProfile : GuiInspectorFieldProfile )
  851. {
  852. border = 0;
  853. cankeyfocus=true;
  854. tab = true;
  855. category = "Editor";
  856. };
  857. singleton GuiControlProfile( GuiInspectorTypeFileNameProfile )
  858. {
  859. // Transparent Background
  860. opaque = false;
  861. // No Border (Rendered by field control)
  862. border = 0;
  863. tab = true;
  864. canKeyFocus = true;
  865. // font
  866. fontType = "Noto Sans";
  867. fontSize = 14;
  868. // Center text
  869. justify = "center";
  870. fontColor = "240 240 240";
  871. fontColorHL = "240 240 240";
  872. fontColorNA = "215 215 215";
  873. fillColor = EditorSettings.value("Theme/windowBackgroundColor");
  874. fillColorHL = "91 101 116";
  875. fillColorNA = "244 244 244";
  876. borderColor = "190 190 190";
  877. borderColorHL = "156 156 156";
  878. borderColorNA = "64 64 64";
  879. category = "Editor";
  880. };
  881. singleton GuiControlProfile( GuiInspectorColumnCtrlProfile : GuiInspectorFieldProfile )
  882. {
  883. opaque = true;
  884. fillColor = "210 210 210";
  885. border = 0;
  886. category = "Editor";
  887. };
  888. singleton GuiControlProfile( InspectorTypeEnumProfile : GuiInspectorFieldProfile )
  889. {
  890. mouseOverSelected = true;
  891. bitmapAsset = "ToolsModule:scrollBar_image";
  892. hasBitmapArray = true;
  893. opaque=true;
  894. border=true;
  895. textOffset = "4 0";
  896. category = "Editor";
  897. };
  898. singleton GuiControlProfile( InspectorTypeCheckboxProfile : GuiInspectorFieldProfile )
  899. {
  900. bitmapAsset = "ToolsModule:checkBox_image";
  901. hasBitmapArray = true;
  902. opaque=false;
  903. border=false;
  904. textOffset = "4 0";
  905. category = "Editor";
  906. };
  907. singleton GuiControlProfile( GuiToolboxButtonProfile : ToolsGuiButtonProfile )
  908. {
  909. justify = "center";
  910. fontColor = EditorSettings.value("Theme/fieldTextColor");
  911. border = 0;
  912. textOffset = "0 0";
  913. category = "Editor";
  914. };
  915. singleton GuiControlProfile( GuiDirectoryTreeProfile : ToolsGuiTreeViewProfile )
  916. {
  917. fontColor = EditorSettings.value("Theme/fieldTextColor");
  918. fontColorSEL= EditorSettings.value("Theme/fieldTextSELColor");
  919. fillColorHL = EditorSettings.value("Theme/fieldBGColor");
  920. fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
  921. fontType = "Noto Sans";
  922. fontSize = 14;
  923. category = "Editor";
  924. };
  925. singleton GuiControlProfile( GuiDirectoryFileListProfile )
  926. {
  927. fontColor = EditorSettings.value("Theme/fieldTextColor");
  928. fontColorSEL= EditorSettings.value("Theme/fieldTextSELColor");
  929. fillColorHL = EditorSettings.value("Theme/fieldBGColor");
  930. fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
  931. fontType = "Noto Sans";
  932. fontSize = 14;
  933. category = "Editor";
  934. };
  935. singleton GuiControlProfile( GuiDragAndDropProfile )
  936. {
  937. category = "Editor";
  938. };
  939. singleton GuiControlProfile( GuiInspectorFieldInfoPaneProfile )
  940. {
  941. opaque = false;
  942. fillcolor = GuiInspectorBackgroundProfile.fillColor;
  943. borderColor = ToolsGuiDefaultProfile.borderColor;
  944. border = 1;
  945. category = "Editor";
  946. };
  947. singleton GuiControlProfile( GuiInspectorFieldInfoMLTextProfile : ToolsGuiMLTextProfile )
  948. {
  949. opaque = false;
  950. border = 0;
  951. textOffset = "5 0";
  952. category = "Editor";
  953. fontColor = EditorSettings.value("Theme/fieldTextColor");
  954. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  955. fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
  956. };
  957. singleton GuiControlProfile( GuiEditorScrollProfile )
  958. {
  959. opaque = true;
  960. fillcolor = EditorSettings.value("Theme/windowBackgroundColor");
  961. borderColor = EditorSettings.value("Theme/dividerDarkColor");
  962. border = 1;
  963. bitmapAsset = "ToolsModule:scrollBar_image";
  964. hasBitmapArray = true;
  965. category = "Editor";
  966. };
  967. singleton GuiControlProfile( GuiCreatorIconButtonProfile )
  968. {
  969. opaque = true;
  970. fillColor = "225 243 252 255";
  971. fillColorHL = "225 243 252 0";
  972. fillColorNA = "225 243 252 0";
  973. fillColorSEL = "225 243 252 0";
  974. //tab = true;
  975. //canKeyFocus = true;
  976. fontType = "Noto Sans";
  977. fontSize = 14;
  978. fontColor = "215 215 215";
  979. fontColorSEL = "43 107 206";
  980. fontColorHL = "244 244 244";
  981. fontColorNA = "100 100 100";
  982. border = 1;
  983. borderColor = "153 222 253 255";
  984. borderColorHL = "156 156 156";
  985. borderColorNA = "153 222 253 0";
  986. //bevelColorHL = "255 255 255";
  987. //bevelColorLL = "0 0 0";
  988. category = "Editor";
  989. };
  990. singleton GuiControlProfile( ToolsGuiMenuBarProfile )
  991. {
  992. fillColor = EditorSettings.value("Theme/headerColor");
  993. fillcolorHL = EditorSettings.value("Theme/tabsSELColor");
  994. borderColor = EditorSettings.value("Theme/dividerDarkColor");
  995. borderColorHL = EditorSettings.value("Theme/dividerMidColor");
  996. fontColor = EditorSettings.value("Theme/headerTextColor");
  997. fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
  998. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  999. fontColorNA = EditorSettings.value("Theme/fieldTextNAColor");
  1000. border = 0;
  1001. borderThickness = 1;
  1002. opaque = true;
  1003. mouseOverSelected = true;
  1004. category = "Editor";
  1005. bitmapAsset = "ToolsModule:checkbox_menubar_image";
  1006. };
  1007. singleton GuiControlProfile( ToolsMenubarProfile : ToolsGuiDefaultProfile )
  1008. {
  1009. bitmap = "./menubar";
  1010. category = "Editor";
  1011. opaque = true;
  1012. fillColor = EditorSettings.value("Theme/headerColor");
  1013. fontColor = EditorSettings.value("Theme/headerTextColor");
  1014. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  1015. borderColor = EditorSettings.value("Theme/dividerDarkColor");
  1016. };
  1017. singleton GuiControlProfile (menubarProfile)
  1018. {
  1019. opaque = false;
  1020. border = -2;
  1021. category = "Editor";
  1022. bitmap = "./menubar";
  1023. category = "Editor";
  1024. fillColor = EditorSettings.value("Theme/windowBackgroundColor");
  1025. fontColor = EditorSettings.value("Theme/headerTextColor");
  1026. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  1027. borderColor = EditorSettings.value("Theme/dividerDarkColor");
  1028. };
  1029. singleton GuiControlProfile (editorMenubarProfile)
  1030. {
  1031. border = -2;
  1032. category = "Editor";
  1033. bitmap = "./editor-menubar";
  1034. category = "Editor";
  1035. };
  1036. singleton GuiControlProfile (editorMenu_wBorderProfile)
  1037. {
  1038. border = -2;
  1039. category = "Editor";
  1040. bitmap = "./menu-fullborder";
  1041. category = "Editor";
  1042. };
  1043. singleton GuiControlProfile (inspectorStyleRolloutProfile)
  1044. {
  1045. border = -2;
  1046. category = "Editor";
  1047. bitmap = "./inspector-style-rollout";
  1048. category = "Editor";
  1049. };
  1050. singleton GuiControlProfile (inspectorStyleRolloutListProfile)
  1051. {
  1052. border = -2;
  1053. category = "Editor";
  1054. bitmap = "./inspector-style-rollout-list";
  1055. category = "Editor";
  1056. };
  1057. singleton GuiControlProfile (inspectorStyleRolloutDarkProfile)
  1058. {
  1059. border = -2;
  1060. category = "Editor";
  1061. bitmap = "./inspector-style-rollout-dark";
  1062. fillColor = EditorSettings.value("Theme/windowBackgroundColor");
  1063. fontColor = EditorSettings.value("Theme/headerTextColor");
  1064. fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
  1065. borderColor = EditorSettings.value("Theme/dividerDarkColor");
  1066. };
  1067. singleton GuiControlProfile (inspectorStyleRolloutInnerProfile)
  1068. {
  1069. border = -2;
  1070. category = "Editor";
  1071. bitmap = "./inspector-style-rollout_inner";
  1072. category = "Editor";
  1073. };
  1074. singleton GuiControlProfile (inspectorStyleRolloutNoHeaderProfile)
  1075. {
  1076. border = -2;
  1077. category = "Editor";
  1078. bitmap = "./inspector-style-rollout-noheader";
  1079. category = "Editor";
  1080. };
  1081. singleton GuiControlProfile (IconDropdownProfile)
  1082. {
  1083. border = -2;
  1084. opaque = true;
  1085. border = true;
  1086. category = "Editor";
  1087. //bitmap = "./icon-dropdownbar";
  1088. fillColor = EditorSettings.value("Theme/headerColor");
  1089. };