profiles.ed.cs 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096
  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.cs");
  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 = true;
  36. fillColor = "50 50 50";
  37. fillColorHL = "91 101 116";
  38. fillColorSEL = "91 101 116";
  39. fillColorNA = "255 0 255 ";
  40. // border color
  41. border = 0;
  42. borderColor = "34 34 34";
  43. borderColorHL = "91 101 116";
  44. borderColorNA = "32 32 32";
  45. // font
  46. fontType = "Noto Sans";
  47. fontSize = 14;
  48. fontCharset = ANSI;
  49. fontColor = "215 215 215";
  50. fontColorHL = "215 215 215";
  51. fontColorNA = "215 215 215";
  52. fontColorSEL= "255 255 255";
  53. // bitmap information
  54. bitmap = "";
  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)
  71. {
  72. opaque = true;
  73. border = true;
  74. category = "Tools";
  75. };
  76. if( !isObject( ToolsGuiTransparentProfile ) )
  77. new GuiControlProfile (ToolsGuiTransparentProfile)
  78. {
  79. opaque = false;
  80. border = false;
  81. category = "Tools";
  82. };
  83. if( !isObject( ToolsGuiGroupBorderProfile ) )
  84. new GuiControlProfile( ToolsGuiGroupBorderProfile )
  85. {
  86. border = false;
  87. opaque = false;
  88. hasBitmapArray = true;
  89. bitmap = "./images/group-border";
  90. category = "Tools";
  91. };
  92. if( !isObject( ToolsGuiTabBorderProfile ) )
  93. new GuiControlProfile( ToolsGuiTabBorderProfile )
  94. {
  95. border = false;
  96. opaque = false;
  97. hasBitmapArray = true;
  98. bitmap = "./images/tab-border";
  99. category = "Tools";
  100. };
  101. if( !isObject( ToolsGuiToolTipProfile ) )
  102. new GuiControlProfile (ToolsGuiToolTipProfile)
  103. {
  104. // fill color
  105. fillColor = "255 255 255";
  106. // border color
  107. borderColor = "0 0 0";
  108. // font
  109. fontType = "Noto Sans";
  110. fontSize = 14;
  111. fontColor = "24 24 24";
  112. category = "Tools";
  113. };
  114. if( !isObject( ToolsGuiModelessDialogProfile ) )
  115. new GuiControlProfile( ToolsGuiModelessDialogProfile )
  116. {
  117. modal = false;
  118. category = "Tools";
  119. };
  120. if( !isObject( ToolsGuiFrameSetProfile ) )
  121. new GuiControlProfile (ToolsGuiFrameSetProfile)
  122. {
  123. fillColor = "48 48 48";
  124. borderColor = "246 245 244";
  125. border = 1;
  126. opaque = true;
  127. border = true;
  128. category = "Tools";
  129. };
  130. if( !isObject( ToolsGuiWindowProfile ) )
  131. new GuiControlProfile (ToolsGuiWindowProfile)
  132. {
  133. opaque = false;
  134. border = 1;
  135. fillColor = EditorSettings.value("WorldEditor/Theme/windowTitleBGColor");
  136. fillColorHL = EditorSettings.value("WorldEditor/Theme/windowTitleBGHLColor");
  137. fillColorNA = EditorSettings.value("WorldEditor/Theme/windowTitleBGNAColor");
  138. fontColor = EditorSettings.value("WorldEditor/Theme/windowTitleFontColor");
  139. fontColorHL = EditorSettings.value("WorldEditor/Theme/windowTitleFontHLColor");
  140. bevelColorHL = "255 255 255";
  141. bevelColorLL = "0 0 0";
  142. text = "untitled";
  143. bitmap = "./images/window";
  144. textOffset = "10 4";
  145. hasBitmapArray = true;
  146. justify = "left";
  147. category = "Tools";
  148. };
  149. if( !isObject( ToolsGuiToolbarWindowProfile ) )
  150. new GuiControlProfile(ToolsGuiToolbarWindowProfile : ToolsGuiWindowProfile)
  151. {
  152. bitmap = "./images/toolbar-window";
  153. text = "";
  154. category = "Tools";
  155. };
  156. if( !isObject( ToolsGuiWindowCollapseProfile ) )
  157. new GuiControlProfile (ToolsGuiWindowCollapseProfile : ToolsGuiWindowProfile)
  158. {
  159. category = "Tools";
  160. };
  161. if( !isObject( ToolsGuiTextProfile ) )
  162. new GuiControlProfile (ToolsGuiTextProfile)
  163. {
  164. justify = "left";
  165. fontColor = "185 185 185";
  166. category = "Tools";
  167. };
  168. if( !isObject( ToolsGuiTextBoldCenterProfile ) )
  169. new GuiControlProfile (ToolsGuiTextBoldCenterProfile : ToolsGuiTextProfile)
  170. {
  171. fontColor = "165 165 165";
  172. fontType = "Noto Sans Bold";
  173. fontSize = 16;
  174. justify = "center";
  175. category = "Tools";
  176. };
  177. if( !isObject( ToolsGuiTextRightProfile ) )
  178. new GuiControlProfile (ToolsGuiTextRightProfile : ToolsGuiTextProfile)
  179. {
  180. justify = "right";
  181. category = "Tools";
  182. };
  183. if( !isObject( ToolsGuiTextCenterProfile ) )
  184. new GuiControlProfile (ToolsGuiTextCenterProfile : ToolsGuiTextProfile)
  185. {
  186. justify = "center";
  187. category = "Tools";
  188. };
  189. if( !isObject( ToolsGuiInspectorTitleTextProfile ) )
  190. new GuiControlProfile (ToolsGuiInspectorTitleTextProfile)
  191. {
  192. fontColor = "100 100 100";
  193. category = "Tools";
  194. };
  195. if( !isObject( ToolsGuiAutoSizeTextProfile ) )
  196. new GuiControlProfile (ToolsGuiAutoSizeTextProfile)
  197. {
  198. fontColor = "215 215 215";
  199. autoSizeWidth = true;
  200. autoSizeHeight = true;
  201. category = "Tools";
  202. };
  203. if( !isObject( ToolsGuiMLTextProfile ) )
  204. new GuiControlProfile( ToolsGuiMLTextProfile )
  205. {
  206. fontColorLink = "100 100 100";
  207. fontColorLinkHL = "255 255 255";
  208. autoSizeWidth = true;
  209. autoSizeHeight = true;
  210. border = false;
  211. category = "Tools";
  212. };
  213. if( !isObject( ToolsGuiTextArrayProfile ) )
  214. new GuiControlProfile( ToolsGuiTextArrayProfile : ToolsGuiTextProfile )
  215. {
  216. fontColor = "165 165 165";
  217. fontColorHL = "215 215 215";
  218. fontColorSEL = "215 215 215";
  219. fillColor = "200 200 200";
  220. fillColorHL = "228 228 235";
  221. fillColorSEL = "200 200 200";
  222. border = false;
  223. category = "Tools";
  224. };
  225. if( !isObject( ToolsGuiTextListProfile ) )
  226. new GuiControlProfile( ToolsGuiTextListProfile : ToolsGuiTextProfile )
  227. {
  228. tab = true;
  229. canKeyFocus = true;
  230. category = "Tools";
  231. };
  232. if( !isObject( ToolsGuiTextEditProfile ) )
  233. new GuiControlProfile( ToolsGuiTextEditProfile )
  234. {
  235. opaque = true;
  236. bitmap = "./images/textEditFrame";
  237. hasBitmapArray = true;
  238. border = -2; // fix to display textEdit img
  239. //borderWidth = "1"; // fix to display textEdit img
  240. //borderColor = "100 100 100";
  241. fillColor = "42 42 42 0";
  242. fillColorHL = "91 101 116";
  243. fontColor = "215 215 215";
  244. fontColorHL = "115 115 115";
  245. fontColorSEL = "98 100 137";
  246. fontColorNA = "200 200 200";
  247. textOffset = "4 2";
  248. autoSizeWidth = false;
  249. autoSizeHeight = true;
  250. justify = "left";
  251. tab = true;
  252. canKeyFocus = true;
  253. category = "Tools";
  254. };
  255. if( !isObject( ToolsGuiNumericTextEditProfile ) )
  256. new GuiControlProfile( ToolsGuiNumericTextEditProfile : ToolsGuiTextEditProfile )
  257. {
  258. numbersOnly = true;
  259. category = "Tools";
  260. };
  261. if( !isObject( ToolsGuiNumericDropSliderTextProfile ) )
  262. new GuiControlProfile( ToolsGuiNumericDropSliderTextProfile : ToolsGuiTextEditProfile )
  263. {
  264. bitmap = "./images/textEditSliderBox";
  265. category = "Tools";
  266. };
  267. if( !isObject( ToolsGuiRLProgressBitmapProfile ) )
  268. new GuiControlProfile( ToolsGuiRLProgressBitmapProfile )
  269. {
  270. border = false;
  271. hasBitmapArray = true;
  272. bitmap = "./images/rl-loadingbar";
  273. category = "Tools";
  274. };
  275. if( !isObject( ToolsGuiProgressTextProfile ) )
  276. new GuiControlProfile( ToolsGuiProgressTextProfile )
  277. {
  278. fontSize = "14";
  279. fontType = "Noto Sans";
  280. fontColor = "215 215 215";
  281. justify = "center";
  282. category = "Tools";
  283. };
  284. if( !isObject( ToolsGuiButtonProfile ) )
  285. new GuiControlProfile( ToolsGuiButtonProfile )
  286. {
  287. opaque = true;
  288. border = true;
  289. fontColor = "165 165 165";
  290. fontColorHL = "215 215 215";
  291. fontColorNA = "200 200 200";
  292. fixedExtent = false;
  293. justify = "center";
  294. canKeyFocus = false;
  295. bitmap = "./images/button";
  296. hasBitmapArray = false;
  297. category = "Tools";
  298. };
  299. if( !isObject( ToolsGuiThumbHighlightButtonProfile ) )
  300. new GuiControlProfile( ToolsGuiThumbHighlightButtonProfile : ToolsGuiButtonProfile )
  301. {
  302. bitmap = "./images/thumbHightlightButton";
  303. category = "Tools";
  304. };
  305. if( !isObject( ToolsGuiIconButtonProfile ) )
  306. new GuiControlProfile( ToolsGuiIconButtonProfile )
  307. {
  308. opaque = true;
  309. border = true;
  310. fontColor = "165 165 165";
  311. fontColorHL = "215 215 215";
  312. fontColorNA = "200 200 200";
  313. fixedExtent = false;
  314. justify = "center";
  315. canKeyFocus = false;
  316. bitmap = "./images/iconbutton";
  317. hasBitmapArray = true;
  318. category = "Tools";
  319. };
  320. if( !isObject( ToolsGuiIconButtonSmallProfile ) )
  321. new GuiControlProfile( ToolsGuiIconButtonSmallProfile : ToolsGuiIconButtonProfile )
  322. {
  323. bitmap = "./images/iconbuttonsmall";
  324. category = "Tools";
  325. };
  326. if( !isObject( ToolsGuiEditorTabPage ) )
  327. new GuiControlProfile(ToolsGuiEditorTabPage)
  328. {
  329. opaque = true;
  330. border = false;
  331. fillColor = "48 48 48";
  332. fontColor = "215 215 215";
  333. fontColorHL = "150 150 150";
  334. borderColor = "34 34 34";
  335. fixedExtent = false;
  336. justify = "left";
  337. canKeyFocus = false;
  338. bitmap = "./images/tab";
  339. hasBitmapArray = true;
  340. category = "Tools";
  341. };
  342. if( !isObject( ToolsGuiCheckBoxProfile ) )
  343. new GuiControlProfile( ToolsGuiCheckBoxProfile )
  344. {
  345. opaque = false;
  346. fillColor = "232 232 232";
  347. border = false;
  348. borderColor = "100 100 100";
  349. fontSize = 14;
  350. fontColor = "185 185 185";
  351. fontColorHL = "80 80 80";
  352. fontColorNA = "200 200 200";
  353. fixedExtent = true;
  354. justify = "left";
  355. bitmap = "./images/checkbox";
  356. hasBitmapArray = true;
  357. category = "Tools";
  358. };
  359. if( !isObject( ToolsGuiCheckBoxListProfile ) )
  360. new GuiControlProfile( ToolsGuiCheckBoxListProfile : ToolsGuiCheckBoxProfile)
  361. {
  362. bitmap = "./images/checkbox-list";
  363. category = "Tools";
  364. };
  365. if( !isObject( ToolsGuiCheckBoxListFlipedProfile ) )
  366. new GuiControlProfile( ToolsGuiCheckBoxListFlipedProfile : ToolsGuiCheckBoxProfile)
  367. {
  368. bitmap = "./images/checkbox-list_fliped";
  369. category = "Tools";
  370. };
  371. if( !isObject( ToolsGuiInspectorCheckBoxTitleProfile ) )
  372. new GuiControlProfile( ToolsGuiInspectorCheckBoxTitleProfile : ToolsGuiCheckBoxProfile ){
  373. fontColor = "100 100 100";
  374. category = "Tools";
  375. };
  376. if( !isObject( ToolsGuiRadioProfile ) )
  377. new GuiControlProfile( ToolsGuiRadioProfile )
  378. {
  379. fontSize = 14;
  380. fillColor = "232 232 232";
  381. fontColor = "185 185 185";
  382. fontColorHL = "80 80 80";
  383. fixedExtent = true;
  384. bitmap = "./images/radioButton";
  385. hasBitmapArray = true;
  386. category = "Tools";
  387. };
  388. if( !isObject( ToolsGuiScrollProfile ) )
  389. new GuiControlProfile( ToolsGuiScrollProfile )
  390. {
  391. opaque = true;
  392. fillColor = "48 48 48";
  393. fontColor = "215 215 215";
  394. fontColorHL = "150 150 150";
  395. borderColor = "34 34 34";
  396. border = true;
  397. bitmap = "./images/scrollBar";
  398. hasBitmapArray = true;
  399. category = "Tools";
  400. };
  401. if( !isObject( ToolsGuiOverlayProfile ) )
  402. new GuiControlProfile( ToolsGuiOverlayProfile )
  403. {
  404. opaque = true;
  405. fillColor = "48 48 48";
  406. fontColor = "215 215 215";
  407. fontColorHL = "255 255 255";
  408. fillColor = "0 0 0 100";
  409. category = "Tools";
  410. };
  411. if( !isObject( ToolsGuiSliderProfile ) )
  412. new GuiControlProfile( ToolsGuiSliderProfile )
  413. {
  414. bitmap = "./images/slider";
  415. category = "Tools";
  416. };
  417. if( !isObject( ToolsGuiSliderBoxProfile ) )
  418. new GuiControlProfile( ToolsGuiSliderBoxProfile )
  419. {
  420. bitmap = "./images/slider-w-box";
  421. category = "Tools";
  422. };
  423. if( !isObject( ToolsGuiPopupMenuItemBorder ) )
  424. new GuiControlProfile( ToolsGuiPopupMenuItemBorder : ToolsGuiButtonProfile )
  425. {
  426. opaque = true;
  427. border = true;
  428. fontColor = "215 215 215";
  429. fontColorHL = "215 215 215";
  430. fontColorNA = "255 255 255";
  431. fixedExtent = false;
  432. justify = "center";
  433. canKeyFocus = false;
  434. bitmap = "./images/button";
  435. category = "Tools";
  436. };
  437. if( !isObject( ToolsGuiPopUpMenuDefault ) )
  438. new GuiControlProfile( ToolsGuiPopUpMenuDefault : ToolsGuiDefaultProfile )
  439. {
  440. opaque = true;
  441. mouseOverSelected = true;
  442. textOffset = "3 3";
  443. border = 0;
  444. borderThickness = 0;
  445. fixedExtent = true;
  446. bitmap = "./images/scrollbar";
  447. hasBitmapArray = true;
  448. profileForChildren = ToolsGuiPopupMenuItemBorder;
  449. fillColor = "48 48 48";//"255 255 255";//100
  450. fillColorHL = "228 228 235 ";//"91 101 116";
  451. fillColorSEL = "98 100 137 ";//"91 101 116";
  452. // font color is black
  453. fontColorHL = "215 215 215 ";//"215 215 215";
  454. fontColorSEL = "255 255 255";//"215 215 215";
  455. borderColor = "100 100 100";
  456. category = "Tools";
  457. };
  458. if( !isObject( ToolsGuiPopUpMenuProfile ) )
  459. new GuiControlProfile( ToolsGuiPopUpMenuProfile : ToolsGuiPopUpMenuDefault )
  460. {
  461. textOffset = "6 4";
  462. bitmap = "./images/dropDown";
  463. hasBitmapArray = true;
  464. border = 1;
  465. profileForChildren = ToolsGuiPopUpMenuDefault;
  466. category = "Tools";
  467. };
  468. if( !isObject( ToolsGuiPopUpMenuTabProfile ) )
  469. new GuiControlProfile( ToolsGuiPopUpMenuTabProfile : ToolsGuiPopUpMenuDefault )
  470. {
  471. bitmap = "./images/dropDown-tab";
  472. textOffset = "6 4";
  473. canKeyFocus = true;
  474. hasBitmapArray = true;
  475. border = 1;
  476. profileForChildren = ToolsGuiPopUpMenuDefault;
  477. category = "Tools";
  478. };
  479. if( !isObject( ToolsGuiPopUpMenuEditProfile ) )
  480. new GuiControlProfile( ToolsGuiPopUpMenuEditProfile : ToolsGuiPopUpMenuDefault )
  481. {
  482. textOffset = "6 4";
  483. canKeyFocus = true;
  484. bitmap = "./images/dropDown";
  485. hasBitmapArray = true;
  486. border = 1;
  487. profileForChildren = ToolsGuiPopUpMenuDefault;
  488. category = "Tools";
  489. };
  490. if( !isObject( ToolsGuiListBoxProfile ) )
  491. new GuiControlProfile( ToolsGuiListBoxProfile )
  492. {
  493. fillColorHL = "100 100 100";
  494. fillColorNA = "150 150 150";
  495. fontColor = "215 215 215";
  496. fontColorHL = "215 215 215";
  497. fontColorNA = "50 50 50";
  498. tab = true;
  499. canKeyFocus = true;
  500. category = "Tools";
  501. };
  502. if( !isObject( ToolsGuiTabBookProfile ) )
  503. new GuiControlProfile( ToolsGuiTabBookProfile )
  504. {
  505. fillColorHL = "100 100 100";
  506. fillColorNA = "150 150 150";
  507. fontColor = "215 215 215";
  508. fontColorHL = "215 215 215";
  509. fontColorNA = "50 50 50";
  510. fontType = "Noto Sans";
  511. fontSize = 14;
  512. justify = "center";
  513. bitmap = "./images/tab";
  514. tabWidth = 65;
  515. tabHeight = 25;
  516. tabPosition = "Top";
  517. tabRotation = "Horizontal";
  518. textOffset = "10 0";
  519. tab = true;
  520. cankeyfocus = true;
  521. category = "Tools";
  522. };
  523. if( !isObject( ToolsGuiTabBookNoBitmapProfile ) )
  524. new GuiControlProfile( ToolsGuiTabBookNoBitmapProfile : ToolsGuiTabBookProfile )
  525. {
  526. bitmap = "";
  527. category = "Tools";
  528. };
  529. if( !isObject( ToolsGuiTabPageProfile ) )
  530. new GuiControlProfile( ToolsGuiTabPageProfile : ToolsGuiDefaultProfile )
  531. {
  532. fontType = "Noto Sans";
  533. fontSize = 10;
  534. justify = "center";
  535. bitmap = "./images/tab";
  536. opaque = false;
  537. fillColor = "240 239 238";
  538. category = "Tools";
  539. };
  540. if( !isObject( ToolsGuiTreeViewProfile ) )
  541. new GuiControlProfile( ToolsGuiTreeViewProfile )
  542. {
  543. bitmap = "./images/treeView";
  544. autoSizeHeight = true;
  545. canKeyFocus = true;
  546. fillColor = "48 48 48";
  547. fillColorHL = "116 116 116";
  548. fillColorSEL = "91 101 116";
  549. fillColorNA = "40 40 40";
  550. fontColor = "215 215 215";
  551. fontColorHL = "240 240 240";
  552. fontColorSEL= "240 240 240";
  553. fontColorNA = "150 150 150";
  554. borderColor = "34 34 34";
  555. borderColorHL = "34 34 34";
  556. fontSize = 14;
  557. opaque = false;
  558. border = false;
  559. category = "Tools";
  560. };
  561. if( !isObject( ToolsGuiTextPadProfile ) )
  562. new GuiControlProfile( ToolsGuiTextPadProfile )
  563. {
  564. fontType = ($platform $= "macos") ? "Monaco" : "Lucida Console";
  565. fontSize = ($platform $= "macos") ? 13 : 12;
  566. tab = true;
  567. canKeyFocus = true;
  568. // Deviate from the Default
  569. opaque=true;
  570. fillColor = "48 48 48";
  571. border = 0;
  572. category = "Tools";
  573. };
  574. if( !isObject( ToolsGuiFormProfile ) )
  575. new GuiControlProfile( ToolsGuiFormProfile : ToolsGuiTextProfile )
  576. {
  577. opaque = false;
  578. border = 5;
  579. justify = "center";
  580. profileForChildren = ToolsGuiButtonProfile;
  581. opaque = false;
  582. hasBitmapArray = true;
  583. bitmap = "./images/button";
  584. category = "Tools";
  585. };
  586. // ----------------------------------------------------------------------------
  587. singleton GuiControlProfile( GuiEditorClassProfile )
  588. {
  589. opaque = true;
  590. fillColor = "232 232 232";
  591. border = 1;
  592. borderColor = "42 42 42 140";
  593. borderColorHL = "127 127 127";
  594. fontColor = "215 215 215";
  595. fontColorHL = "50 50 50";
  596. fixedExtent = true;
  597. justify = "center";
  598. bitmap = "tools/gui/images/scrollBar";
  599. hasBitmapArray = true;
  600. category = "Editor";
  601. };
  602. singleton GuiControlProfile( GuiBackFillProfile )
  603. {
  604. opaque = true;
  605. fillColor = "0 94 94";
  606. border = true;
  607. borderColor = "255 128 128";
  608. fontType = "Noto Sans";
  609. fontSize = 12;
  610. fontColor = "215 215 215";
  611. fontColorHL = "50 50 50";
  612. fixedExtent = true;
  613. justify = "center";
  614. category = "Editor";
  615. };
  616. singleton GuiControlProfile( GuiControlListPopupProfile )
  617. {
  618. opaque = true;
  619. fillColor = "48 48 48";
  620. fillColorHL = "91 101 116";
  621. border = false;
  622. //borderColor = "0 0 0";
  623. fontColor = "215 215 215";
  624. fontColorHL = "240 240 240";
  625. fontColorNA = "50 50 50";
  626. textOffset = "0 2";
  627. autoSizeWidth = false;
  628. autoSizeHeight = true;
  629. tab = true;
  630. canKeyFocus = true;
  631. bitmap = "tools/gui/images/scrollBar";
  632. hasBitmapArray = true;
  633. category = "Editor";
  634. };
  635. singleton GuiControlProfile( GuiSceneGraphEditProfile )
  636. {
  637. canKeyFocus = true;
  638. tab = true;
  639. category = "Editor";
  640. };
  641. singleton GuiControlProfile( GuiInspectorButtonProfile : ToolsGuiButtonProfile )
  642. {
  643. //border = 1;
  644. justify = "Center";
  645. category = "Editor";
  646. };
  647. singleton GuiControlProfile( GuiInspectorSwatchButtonProfile )
  648. {
  649. borderColor = "100 100 100 255";
  650. borderColorNA = "200 200 200 255";
  651. fillColorNA = "255 255 255 0";
  652. borderColorHL = "0 0 0 255";
  653. category = "Editor";
  654. };
  655. singleton GuiControlProfile( GuiInspectorTextEditProfile )
  656. {
  657. // Transparent Background
  658. opaque = true;
  659. fillColor = "0 0 0 0";
  660. fillColorHL = "91 101 116";
  661. // No Border (Rendered by field control)
  662. border = false;
  663. tab = true;
  664. canKeyFocus = true;
  665. // font
  666. fontType = "Noto Sans";
  667. fontSize = 14;
  668. fontColor = "215 215 215";
  669. fontColorSEL = "0 140 220";
  670. fontColorHL = "240 240 240";
  671. fontColorNA = "100 100 100";
  672. category = "Editor";
  673. };
  674. singleton GuiControlProfile( GuiDropdownTextEditProfile : ToolsGuiTextEditProfile )
  675. {
  676. bitmap = "tools/gui/images/dropdown-textEdit";
  677. category = "Editor";
  678. };
  679. singleton GuiControlProfile( GuiInspectorTextEditRightProfile : GuiInspectorTextEditProfile )
  680. {
  681. justify = "right";
  682. category = "Editor";
  683. };
  684. singleton GuiControlProfile( GuiInspectorGroupProfile )
  685. {
  686. fontType = "Noto Sans";
  687. fontSize = "14";
  688. fontColor = "215 215 215 150";
  689. fontColorHL = "215 215 215 220";
  690. fontColorNA = "128 128 128";
  691. justify = "left";
  692. opaque = false;
  693. border = false;
  694. bitmap = "tools/editorClasses/gui/images/rollout";
  695. textOffset = "20 0";
  696. category = "Editor";
  697. };
  698. singleton GuiControlProfile( GuiInspectorFieldProfile)
  699. {
  700. // fill color
  701. opaque = false;
  702. fillColor = "48 48 48";
  703. fillColorHL = "91 101 116";
  704. fillColorNA = "244 244 244";
  705. // border color
  706. border = false;
  707. borderColor = "190 190 190";
  708. borderColorHL = "156 156 156";
  709. borderColorNA = "200 200 200";
  710. //bevelColorHL = "255 255 255";
  711. //bevelColorLL = "0 0 0";
  712. // font
  713. fontType = "Noto Sans";
  714. fontSize = 14;
  715. fontColor = "240 240 240";
  716. fontColorHL = "240 240 240";
  717. fontColorNA = "190 190 190";
  718. textOffset = "10 0";
  719. tab = true;
  720. canKeyFocus = true;
  721. category = "Editor";
  722. };
  723. /*
  724. singleton GuiControlProfile( GuiInspectorMultiFieldProfile : GuiInspectorFieldProfile )
  725. {
  726. opaque = true;
  727. fillColor = "50 50 230 30";
  728. };
  729. */
  730. singleton GuiControlProfile( GuiInspectorMultiFieldDifferentProfile : GuiInspectorFieldProfile )
  731. {
  732. border = true;
  733. borderColor = "190 100 100";
  734. };
  735. singleton GuiControlProfile( GuiInspectorDynamicFieldProfile : GuiInspectorFieldProfile )
  736. {
  737. // Transparent Background
  738. opaque = true;
  739. fillColor = "0 0 0 0";
  740. fillColorHL = "91 101 116";
  741. // No Border (Rendered by field control)
  742. border = false;
  743. tab = true;
  744. canKeyFocus = true;
  745. // font
  746. fontType = "Noto Sans";
  747. fontSize = 14;
  748. fontColor = "215 215 215";
  749. fontColorSEL = "0 140 220";
  750. fontColorHL = "240 240 240";
  751. fontColorNA = "100 100 100";
  752. category = "Editor";
  753. };
  754. singleton GuiControlProfile( GuiRolloutProfile )
  755. {
  756. border = 0;
  757. borderColor = "200 200 200";
  758. fontColor = "240 240 240";
  759. fontColorHL = "240 240 240";
  760. fontColorNA = "190 190 190";
  761. hasBitmapArray = true;
  762. bitmap = "tools/editorClasses/gui/images/rollout";
  763. textoffset = "17 0";
  764. category = "Editor";
  765. };
  766. singleton GuiControlProfile( GuiInspectorRolloutProfile0 )
  767. {
  768. // font
  769. fontType = "Noto Sans";
  770. fontSize = 14;
  771. fontColor = "32 32 32";
  772. fontColorHL = "32 100 100";
  773. fontColorNA = "215 215 215";
  774. justify = "left";
  775. opaque = false;
  776. border = 0;
  777. borderColor = "190 190 190";
  778. borderColorHL = "156 156 156";
  779. borderColorNA = "64 64 64";
  780. bitmap = "tools/editorclasses/gui/images/rollout_plusminus_header";
  781. textOffset = "20 0";
  782. category = "Editor";
  783. };
  784. singleton GuiControlProfile( GuiInspectorStackProfile )
  785. {
  786. opaque = false;
  787. border = false;
  788. category = "Editor";
  789. };
  790. singleton GuiControlProfile( GuiInspectorProfile : GuiInspectorFieldProfile )
  791. {
  792. opaque = true;
  793. fillColor = "42 42 42 255";
  794. border = 0;
  795. cankeyfocus = true;
  796. tab = true;
  797. category = "Editor";
  798. };
  799. singleton GuiControlProfile( GuiInspectorInfoProfile : GuiInspectorFieldProfile )
  800. {
  801. opaque = true;
  802. fillColor = "48 48 48";
  803. border = 0;
  804. cankeyfocus = true;
  805. tab = true;
  806. category = "Editor";
  807. };
  808. singleton GuiControlProfile( GuiInspectorBackgroundProfile : GuiInspectorFieldProfile )
  809. {
  810. border = 0;
  811. cankeyfocus=true;
  812. tab = true;
  813. category = "Editor";
  814. };
  815. singleton GuiControlProfile( GuiInspectorTypeFileNameProfile )
  816. {
  817. // Transparent Background
  818. opaque = false;
  819. // No Border (Rendered by field control)
  820. border = 0;
  821. tab = true;
  822. canKeyFocus = true;
  823. // font
  824. fontType = "Noto Sans";
  825. fontSize = 14;
  826. // Center text
  827. justify = "center";
  828. fontColor = "240 240 240";
  829. fontColorHL = "240 240 240";
  830. fontColorNA = "215 215 215";
  831. fillColor = "48 48 48";
  832. fillColorHL = "91 101 116";
  833. fillColorNA = "244 244 244";
  834. borderColor = "190 190 190";
  835. borderColorHL = "156 156 156";
  836. borderColorNA = "64 64 64";
  837. category = "Editor";
  838. };
  839. singleton GuiControlProfile( GuiInspectorColumnCtrlProfile : GuiInspectorFieldProfile )
  840. {
  841. opaque = true;
  842. fillColor = "210 210 210";
  843. border = 0;
  844. category = "Editor";
  845. };
  846. singleton GuiControlProfile( InspectorTypeEnumProfile : GuiInspectorFieldProfile )
  847. {
  848. mouseOverSelected = true;
  849. bitmap = "tools/gui/images/scrollBar";
  850. hasBitmapArray = true;
  851. opaque=true;
  852. border=true;
  853. textOffset = "4 0";
  854. category = "Editor";
  855. };
  856. singleton GuiControlProfile( InspectorTypeCheckboxProfile : GuiInspectorFieldProfile )
  857. {
  858. bitmap = "tools/gui/images/checkBox";
  859. hasBitmapArray = true;
  860. opaque=false;
  861. border=false;
  862. textOffset = "4 0";
  863. category = "Editor";
  864. };
  865. singleton GuiControlProfile( GuiToolboxButtonProfile : ToolsGuiButtonProfile )
  866. {
  867. justify = "center";
  868. fontColor = "215 215 215";
  869. border = 0;
  870. textOffset = "0 0";
  871. category = "Editor";
  872. };
  873. singleton GuiControlProfile( GuiDirectoryTreeProfile : ToolsGuiTreeViewProfile )
  874. {
  875. fontColor = "240 240 240";
  876. fontColorSEL= "250 250 250 175";
  877. fillColorHL = "0 60 150";
  878. fontColorNA = "240 240 240";
  879. fontType = "Noto Sans";
  880. fontSize = 14;
  881. category = "Editor";
  882. };
  883. singleton GuiControlProfile( GuiDirectoryFileListProfile )
  884. {
  885. fontColor = "240 240 240";
  886. fontColorSEL= "250 250 250 175";
  887. fillColorHL = "0 60 150";
  888. fontColorNA = "240 240 240";
  889. fontType = "Noto Sans";
  890. fontSize = 14;
  891. category = "Editor";
  892. };
  893. singleton GuiControlProfile( GuiDragAndDropProfile )
  894. {
  895. category = "Editor";
  896. };
  897. singleton GuiControlProfile( GuiInspectorFieldInfoPaneProfile )
  898. {
  899. opaque = false;
  900. fillcolor = GuiInspectorBackgroundProfile.fillColor;
  901. borderColor = ToolsGuiDefaultProfile.borderColor;
  902. border = 1;
  903. category = "Editor";
  904. };
  905. singleton GuiControlProfile( GuiInspectorFieldInfoMLTextProfile : ToolsGuiMLTextProfile )
  906. {
  907. opaque = false;
  908. border = 0;
  909. textOffset = "5 0";
  910. category = "Editor";
  911. };
  912. singleton GuiControlProfile( GuiEditorScrollProfile )
  913. {
  914. opaque = true;
  915. fillcolor = GuiInspectorBackgroundProfile.fillColor;
  916. borderColor = ToolsGuiDefaultProfile.borderColor;
  917. border = 1;
  918. bitmap = "tools/gui/images/scrollBar";
  919. hasBitmapArray = true;
  920. category = "Editor";
  921. };
  922. singleton GuiControlProfile( GuiCreatorIconButtonProfile )
  923. {
  924. opaque = true;
  925. fillColor = "225 243 252 255";
  926. fillColorHL = "225 243 252 0";
  927. fillColorNA = "225 243 252 0";
  928. fillColorSEL = "225 243 252 0";
  929. //tab = true;
  930. //canKeyFocus = true;
  931. fontType = "Noto Sans";
  932. fontSize = 14;
  933. fontColor = "215 215 215";
  934. fontColorSEL = "43 107 206";
  935. fontColorHL = "244 244 244";
  936. fontColorNA = "100 100 100";
  937. border = 1;
  938. borderColor = "153 222 253 255";
  939. borderColorHL = "156 156 156";
  940. borderColorNA = "153 222 253 0";
  941. //bevelColorHL = "255 255 255";
  942. //bevelColorLL = "0 0 0";
  943. category = "Editor";
  944. };
  945. singleton GuiControlProfile( GuiMenuBarProfile )
  946. {
  947. fillColor = "48 48 48";
  948. fillcolorHL = "42 42 42";
  949. borderColor = "30 30 30 255";
  950. borderColorHL = "30 30 30 255";
  951. fontColor = "215 215 215";
  952. fontColorSEL = "43 107 206";
  953. fontColorHL = "244 244 244";
  954. fontColorNA = "100 100 100";
  955. border = 0;
  956. borderThickness = 1;
  957. opaque = true;
  958. mouseOverSelected = true;
  959. category = "Editor";
  960. bitmap = "tools/gui/images/checkbox-menubar";
  961. };