profiles.ed.cs 25 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079
  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 = false;
  36. fillColor = "242 241 240";
  37. fillColorHL ="228 228 235";
  38. fillColorSEL = "98 100 137";
  39. fillColorNA = "255 255 255 ";
  40. // border color
  41. border = 0;
  42. borderColor = "100 100 100";
  43. borderColorHL = "50 50 50 50";
  44. borderColorNA = "75 75 75";
  45. // font
  46. fontType = "Arial";
  47. fontSize = 14;
  48. fontCharset = ANSI;
  49. fontColor = "0 0 0";
  50. fontColorHL = "0 0 0";
  51. fontColorNA = "0 0 0";
  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 = "0 0 0 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 = "239 237 222";
  106. // border color
  107. borderColor = "138 134 122";
  108. // font
  109. fontType = "Arial";
  110. fontSize = 14;
  111. fontColor = "0 0 0";
  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 = "255 255 255";
  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 = 2;
  135. fillColor = "242 241 240";
  136. fillColorHL = "221 221 221";
  137. fillColorNA = "200 200 200";
  138. fontColor = "50 50 50";
  139. fontColorHL = "0 0 0";
  140. bevelColorHL = "255 255 255";
  141. bevelColorLL = "0 0 0";
  142. text = "untitled";
  143. bitmap = "./images/window";
  144. textOffset = "8 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 = "20 20 20";
  166. category = "Tools";
  167. };
  168. if( !isObject( ToolsGuiTextBoldCenterProfile ) )
  169. new GuiControlProfile (ToolsGuiTextBoldCenterProfile : ToolsGuiTextProfile)
  170. {
  171. fontColor = "50 50 50";
  172. fontType = "Arial 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 = "0 0 0";
  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 = "50 50 50";
  217. fontColorHL = " 0 0 0";
  218. fontColorSEL = "0 0 0";
  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 = "242 241 240 0";
  242. fillColorHL = "255 255 255";
  243. fontColor = "0 0 0";
  244. fontColorHL = "255 255 255";
  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 = "Arial";
  280. fontColor = "0 0 0";
  281. justify = "center";
  282. category = "Tools";
  283. };
  284. if( !isObject( ToolsGuiButtonProfile ) )
  285. new GuiControlProfile( ToolsGuiButtonProfile )
  286. {
  287. opaque = true;
  288. border = true;
  289. fontColor = "50 50 50";
  290. fontColorHL = "0 0 0";
  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 = "50 50 50";
  311. fontColorHL = "0 0 0";
  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. fontColor = "0 0 0";
  332. fontColorHL = "0 0 0";
  333. fixedExtent = false;
  334. justify = "center";
  335. canKeyFocus = false;
  336. bitmap = "./images/tab";
  337. hasBitmapArray = true;
  338. category = "Tools";
  339. };
  340. if( !isObject( ToolsGuiCheckBoxProfile ) )
  341. new GuiControlProfile( ToolsGuiCheckBoxProfile )
  342. {
  343. opaque = false;
  344. fillColor = "232 232 232";
  345. border = false;
  346. borderColor = "100 100 100";
  347. fontSize = 14;
  348. fontColor = "20 20 20";
  349. fontColorHL = "80 80 80";
  350. fontColorNA = "200 200 200";
  351. fixedExtent = true;
  352. justify = "left";
  353. bitmap = "./images/checkbox";
  354. hasBitmapArray = true;
  355. category = "Tools";
  356. };
  357. if( !isObject( ToolsGuiCheckBoxListProfile ) )
  358. new GuiControlProfile( ToolsGuiCheckBoxListProfile : ToolsGuiCheckBoxProfile)
  359. {
  360. bitmap = "./images/checkbox-list";
  361. category = "Tools";
  362. };
  363. if( !isObject( ToolsGuiCheckBoxListFlipedProfile ) )
  364. new GuiControlProfile( ToolsGuiCheckBoxListFlipedProfile : ToolsGuiCheckBoxProfile)
  365. {
  366. bitmap = "./images/checkbox-list_fliped";
  367. category = "Tools";
  368. };
  369. if( !isObject( ToolsGuiInspectorCheckBoxTitleProfile ) )
  370. new GuiControlProfile( ToolsGuiInspectorCheckBoxTitleProfile : ToolsGuiCheckBoxProfile ){
  371. fontColor = "100 100 100";
  372. category = "Tools";
  373. };
  374. if( !isObject( ToolsGuiRadioProfile ) )
  375. new GuiControlProfile( ToolsGuiRadioProfile )
  376. {
  377. fontSize = 14;
  378. fillColor = "232 232 232";
  379. fontColor = "20 20 20";
  380. fontColorHL = "80 80 80";
  381. fixedExtent = true;
  382. bitmap = "./images/radioButton";
  383. hasBitmapArray = true;
  384. category = "Tools";
  385. };
  386. if( !isObject( ToolsGuiScrollProfile ) )
  387. new GuiControlProfile( ToolsGuiScrollProfile )
  388. {
  389. opaque = true;
  390. fillcolor = "255 255 255";
  391. fontColor = "0 0 0";
  392. fontColorHL = "150 150 150";
  393. border = true;
  394. bitmap = "./images/scrollBar";
  395. hasBitmapArray = true;
  396. category = "Tools";
  397. };
  398. if( !isObject( ToolsGuiOverlayProfile ) )
  399. new GuiControlProfile( ToolsGuiOverlayProfile )
  400. {
  401. opaque = true;
  402. fillcolor = "255 255 255";
  403. fontColor = "0 0 0";
  404. fontColorHL = "255 255 255";
  405. fillColor = "0 0 0 100";
  406. category = "Tools";
  407. };
  408. if( !isObject( ToolsGuiSliderProfile ) )
  409. new GuiControlProfile( ToolsGuiSliderProfile )
  410. {
  411. bitmap = "./images/slider";
  412. category = "Tools";
  413. };
  414. if( !isObject( ToolsGuiSliderBoxProfile ) )
  415. new GuiControlProfile( ToolsGuiSliderBoxProfile )
  416. {
  417. bitmap = "./images/slider-w-box";
  418. category = "Tools";
  419. };
  420. if( !isObject( ToolsGuiPopupMenuItemBorder ) )
  421. new GuiControlProfile( ToolsGuiPopupMenuItemBorder : ToolsGuiButtonProfile )
  422. {
  423. opaque = true;
  424. border = true;
  425. fontColor = "0 0 0";
  426. fontColorHL = "0 0 0";
  427. fontColorNA = "255 255 255";
  428. fixedExtent = false;
  429. justify = "center";
  430. canKeyFocus = false;
  431. bitmap = "./images/button";
  432. category = "Tools";
  433. };
  434. if( !isObject( ToolsGuiPopUpMenuDefault ) )
  435. new GuiControlProfile( ToolsGuiPopUpMenuDefault : ToolsGuiDefaultProfile )
  436. {
  437. opaque = true;
  438. mouseOverSelected = true;
  439. textOffset = "3 3";
  440. border = 0;
  441. borderThickness = 0;
  442. fixedExtent = true;
  443. bitmap = "./images/scrollbar";
  444. hasBitmapArray = true;
  445. profileForChildren = ToolsGuiPopupMenuItemBorder;
  446. fillColor = "242 241 240 ";//"255 255 255";//100
  447. fillColorHL = "228 228 235 ";//"204 203 202";
  448. fillColorSEL = "98 100 137 ";//"204 203 202";
  449. // font color is black
  450. fontColorHL = "0 0 0 ";//"0 0 0";
  451. fontColorSEL = "255 255 255";//"0 0 0";
  452. borderColor = "100 100 100";
  453. category = "Tools";
  454. };
  455. if( !isObject( ToolsGuiPopUpMenuProfile ) )
  456. new GuiControlProfile( ToolsGuiPopUpMenuProfile : ToolsGuiPopUpMenuDefault )
  457. {
  458. textOffset = "6 4";
  459. bitmap = "./images/dropDown";
  460. hasBitmapArray = true;
  461. border = 1;
  462. profileForChildren = ToolsGuiPopUpMenuDefault;
  463. category = "Tools";
  464. };
  465. if( !isObject( ToolsGuiPopUpMenuTabProfile ) )
  466. new GuiControlProfile( ToolsGuiPopUpMenuTabProfile : ToolsGuiPopUpMenuDefault )
  467. {
  468. bitmap = "./images/dropDown-tab";
  469. textOffset = "6 4";
  470. canKeyFocus = true;
  471. hasBitmapArray = true;
  472. border = 1;
  473. profileForChildren = ToolsGuiPopUpMenuDefault;
  474. category = "Tools";
  475. };
  476. if( !isObject( ToolsGuiPopUpMenuEditProfile ) )
  477. new GuiControlProfile( ToolsGuiPopUpMenuEditProfile : ToolsGuiPopUpMenuDefault )
  478. {
  479. textOffset = "6 4";
  480. canKeyFocus = true;
  481. bitmap = "./images/dropDown";
  482. hasBitmapArray = true;
  483. border = 1;
  484. profileForChildren = ToolsGuiPopUpMenuDefault;
  485. category = "Tools";
  486. };
  487. if( !isObject( ToolsGuiListBoxProfile ) )
  488. new GuiControlProfile( ToolsGuiListBoxProfile )
  489. {
  490. tab = true;
  491. canKeyFocus = true;
  492. category = "Tools";
  493. };
  494. if( !isObject( ToolsGuiTabBookProfile ) )
  495. new GuiControlProfile( ToolsGuiTabBookProfile )
  496. {
  497. fillColorHL = "100 100 100";
  498. fillColorNA = "150 150 150";
  499. fontColor = "30 30 30";
  500. fontColorHL = "0 0 0";
  501. fontColorNA = "50 50 50";
  502. fontType = "Arial";
  503. fontSize = 14;
  504. justify = "center";
  505. bitmap = "./images/tab";
  506. tabWidth = 64;
  507. tabHeight = 24;
  508. tabPosition = "Top";
  509. tabRotation = "Horizontal";
  510. textOffset = "0 -3";
  511. tab = true;
  512. cankeyfocus = true;
  513. category = "Tools";
  514. };
  515. if( !isObject( ToolsGuiTabBookNoBitmapProfile ) )
  516. new GuiControlProfile( ToolsGuiTabBookNoBitmapProfile : ToolsGuiTabBookProfile )
  517. {
  518. bitmap = "";
  519. category = "Tools";
  520. };
  521. if( !isObject( ToolsGuiTabPageProfile ) )
  522. new GuiControlProfile( ToolsGuiTabPageProfile : ToolsGuiDefaultProfile )
  523. {
  524. fontType = "Arial";
  525. fontSize = 10;
  526. justify = "center";
  527. bitmap = "./images/tab";
  528. opaque = false;
  529. fillColor = "240 239 238";
  530. category = "Tools";
  531. };
  532. if( !isObject( ToolsGuiTreeViewProfile ) )
  533. new GuiControlProfile( ToolsGuiTreeViewProfile )
  534. {
  535. bitmap = "./images/treeView";
  536. autoSizeHeight = true;
  537. canKeyFocus = true;
  538. fillColor = "255 255 255";
  539. fillColorHL = "228 228 235";
  540. fillColorSEL = "98 100 137";
  541. fillColorNA = "255 255 255";
  542. fontColor = "0 0 0";
  543. fontColorHL = "0 0 0";
  544. fontColorSEL= "255 255 255";
  545. fontColorNA = "200 200 200";
  546. borderColor = "128 000 000";
  547. borderColorHL = "255 228 235";
  548. fontSize = 14;
  549. opaque = false;
  550. border = false;
  551. category = "Tools";
  552. };
  553. if( !isObject( ToolsGuiTextPadProfile ) )
  554. new GuiControlProfile( ToolsGuiTextPadProfile )
  555. {
  556. fontType = ($platform $= "macos") ? "Monaco" : "Lucida Console";
  557. fontSize = ($platform $= "macos") ? 13 : 12;
  558. tab = true;
  559. canKeyFocus = true;
  560. // Deviate from the Default
  561. opaque=true;
  562. fillColor = "255 255 255";
  563. border = 0;
  564. category = "Tools";
  565. };
  566. if( !isObject( ToolsGuiFormProfile ) )
  567. new GuiControlProfile( ToolsGuiFormProfile : ToolsGuiTextProfile )
  568. {
  569. opaque = false;
  570. border = 5;
  571. justify = "center";
  572. profileForChildren = ToolsGuiButtonProfile;
  573. opaque = false;
  574. hasBitmapArray = true;
  575. bitmap = "./images/button";
  576. category = "Tools";
  577. };
  578. // ----------------------------------------------------------------------------
  579. singleton GuiControlProfile( GuiEditorClassProfile )
  580. {
  581. opaque = true;
  582. fillColor = "232 232 232";
  583. border = 1;
  584. borderColor = "40 40 40 140";
  585. borderColorHL = "127 127 127";
  586. fontColor = "0 0 0";
  587. fontColorHL = "50 50 50";
  588. fixedExtent = true;
  589. justify = "center";
  590. bitmap = "tools/gui/images/scrollBar";
  591. hasBitmapArray = true;
  592. category = "Editor";
  593. };
  594. singleton GuiControlProfile( GuiBackFillProfile )
  595. {
  596. opaque = true;
  597. fillColor = "0 94 94";
  598. border = true;
  599. borderColor = "255 128 128";
  600. fontType = "Arial";
  601. fontSize = 12;
  602. fontColor = "0 0 0";
  603. fontColorHL = "50 50 50";
  604. fixedExtent = true;
  605. justify = "center";
  606. category = "Editor";
  607. };
  608. singleton GuiControlProfile( GuiControlListPopupProfile )
  609. {
  610. opaque = true;
  611. fillColor = "255 255 255";
  612. fillColorHL = "204 203 202";
  613. border = false;
  614. //borderColor = "0 0 0";
  615. fontColor = "0 0 0";
  616. fontColorHL = "0 0 0";
  617. fontColorNA = "50 50 50";
  618. textOffset = "0 2";
  619. autoSizeWidth = false;
  620. autoSizeHeight = true;
  621. tab = true;
  622. canKeyFocus = true;
  623. bitmap = "tools/gui/images/scrollBar";
  624. hasBitmapArray = true;
  625. category = "Editor";
  626. };
  627. singleton GuiControlProfile( GuiSceneGraphEditProfile )
  628. {
  629. canKeyFocus = true;
  630. tab = true;
  631. category = "Editor";
  632. };
  633. singleton GuiControlProfile( GuiInspectorButtonProfile : ToolsGuiButtonProfile )
  634. {
  635. //border = 1;
  636. justify = "Center";
  637. category = "Editor";
  638. };
  639. singleton GuiControlProfile( GuiInspectorSwatchButtonProfile )
  640. {
  641. borderColor = "100 100 100 255";
  642. borderColorNA = "200 200 200 255";
  643. fillColorNA = "255 255 255 0";
  644. borderColorHL = "0 0 0 255";
  645. category = "Editor";
  646. };
  647. singleton GuiControlProfile( GuiInspectorTextEditProfile )
  648. {
  649. // Transparent Background
  650. opaque = true;
  651. fillColor = "0 0 0 0";
  652. fillColorHL = "255 255 255";
  653. // No Border (Rendered by field control)
  654. border = false;
  655. tab = true;
  656. canKeyFocus = true;
  657. // font
  658. fontType = "Arial";
  659. fontSize = 14;
  660. fontColor = "0 0 0";
  661. fontColorSEL = "43 107 206";
  662. fontColorHL = "244 244 244";
  663. fontColorNA = "100 100 100";
  664. category = "Editor";
  665. };
  666. singleton GuiControlProfile( GuiDropdownTextEditProfile : ToolsGuiTextEditProfile )
  667. {
  668. bitmap = "tools/gui/images/dropdown-textEdit";
  669. category = "Editor";
  670. };
  671. singleton GuiControlProfile( GuiInspectorTextEditRightProfile : GuiInspectorTextEditProfile )
  672. {
  673. justify = "right";
  674. category = "Editor";
  675. };
  676. singleton GuiControlProfile( GuiInspectorGroupProfile )
  677. {
  678. fontType = "Arial";
  679. fontSize = "14";
  680. fontColor = "0 0 0 150";
  681. fontColorHL = "25 25 25 220";
  682. fontColorNA = "128 128 128";
  683. justify = "left";
  684. opaque = false;
  685. border = false;
  686. bitmap = "tools/editorClasses/gui/images/rollout";
  687. textOffset = "20 0";
  688. category = "Editor";
  689. };
  690. singleton GuiControlProfile( GuiInspectorFieldProfile)
  691. {
  692. // fill color
  693. opaque = false;
  694. fillColor = "255 255 255";
  695. fillColorHL = "204 203 202";
  696. fillColorNA = "244 244 244";
  697. // border color
  698. border = false;
  699. borderColor = "190 190 190";
  700. borderColorHL = "156 156 156";
  701. borderColorNA = "200 200 200";
  702. //bevelColorHL = "255 255 255";
  703. //bevelColorLL = "0 0 0";
  704. // font
  705. fontType = "Arial";
  706. fontSize = 14;
  707. fontColor = "32 32 32";
  708. fontColorHL = "50 50 50";
  709. fontColorNA = "190 190 190";
  710. textOffset = "10 0";
  711. tab = true;
  712. canKeyFocus = true;
  713. category = "Editor";
  714. };
  715. /*
  716. singleton GuiControlProfile( GuiInspectorMultiFieldProfile : GuiInspectorFieldProfile )
  717. {
  718. opaque = true;
  719. fillColor = "50 50 230 30";
  720. };
  721. */
  722. singleton GuiControlProfile( GuiInspectorMultiFieldDifferentProfile : GuiInspectorFieldProfile )
  723. {
  724. border = true;
  725. borderColor = "190 100 100";
  726. };
  727. singleton GuiControlProfile( GuiInspectorDynamicFieldProfile : GuiInspectorFieldProfile )
  728. {
  729. // Transparent Background
  730. opaque = true;
  731. fillColor = "0 0 0 0";
  732. fillColorHL = "255 255 255";
  733. // No Border (Rendered by field control)
  734. border = false;
  735. tab = true;
  736. canKeyFocus = true;
  737. // font
  738. fontType = "Arial";
  739. fontSize = 14;
  740. fontColor = "0 0 0";
  741. fontColorSEL = "43 107 206";
  742. fontColorHL = "244 244 244";
  743. fontColorNA = "100 100 100";
  744. category = "Editor";
  745. };
  746. singleton GuiControlProfile( GuiRolloutProfile )
  747. {
  748. border = 1;
  749. borderColor = "200 200 200";
  750. hasBitmapArray = true;
  751. bitmap = "tools/editorClasses/gui/images/rollout";
  752. textoffset = "17 0";
  753. category = "Editor";
  754. };
  755. singleton GuiControlProfile( GuiInspectorRolloutProfile0 )
  756. {
  757. // font
  758. fontType = "Arial";
  759. fontSize = 14;
  760. fontColor = "32 32 32";
  761. fontColorHL = "32 100 100";
  762. fontColorNA = "0 0 0";
  763. justify = "left";
  764. opaque = false;
  765. border = 0;
  766. borderColor = "190 190 190";
  767. borderColorHL = "156 156 156";
  768. borderColorNA = "64 64 64";
  769. bitmap = "tools/editorclasses/gui/images/rollout_plusminus_header";
  770. textOffset = "20 0";
  771. category = "Editor";
  772. };
  773. singleton GuiControlProfile( GuiInspectorStackProfile )
  774. {
  775. opaque = false;
  776. border = false;
  777. category = "Editor";
  778. };
  779. singleton GuiControlProfile( GuiInspectorProfile : GuiInspectorFieldProfile )
  780. {
  781. opaque = true;
  782. fillColor = "255 255 255 255";
  783. border = 0;
  784. cankeyfocus = true;
  785. tab = true;
  786. category = "Editor";
  787. };
  788. singleton GuiControlProfile( GuiInspectorInfoProfile : GuiInspectorFieldProfile )
  789. {
  790. opaque = true;
  791. fillColor = "242 241 240";
  792. border = 0;
  793. cankeyfocus = true;
  794. tab = true;
  795. category = "Editor";
  796. };
  797. singleton GuiControlProfile( GuiInspectorBackgroundProfile : GuiInspectorFieldProfile )
  798. {
  799. border = 0;
  800. cankeyfocus=true;
  801. tab = true;
  802. category = "Editor";
  803. };
  804. singleton GuiControlProfile( GuiInspectorTypeFileNameProfile )
  805. {
  806. // Transparent Background
  807. opaque = false;
  808. // No Border (Rendered by field control)
  809. border = 0;
  810. tab = true;
  811. canKeyFocus = true;
  812. // font
  813. fontType = "Arial";
  814. fontSize = 14;
  815. // Center text
  816. justify = "center";
  817. fontColor = "32 32 32";
  818. fontColorHL = "50 50 50";
  819. fontColorNA = "0 0 0";
  820. fillColor = "255 255 255";
  821. fillColorHL = "204 203 202";
  822. fillColorNA = "244 244 244";
  823. borderColor = "190 190 190";
  824. borderColorHL = "156 156 156";
  825. borderColorNA = "64 64 64";
  826. category = "Editor";
  827. };
  828. singleton GuiControlProfile( GuiInspectorColumnCtrlProfile : GuiInspectorFieldProfile )
  829. {
  830. opaque = true;
  831. fillColor = "210 210 210";
  832. border = 0;
  833. category = "Editor";
  834. };
  835. singleton GuiControlProfile( InspectorTypeEnumProfile : GuiInspectorFieldProfile )
  836. {
  837. mouseOverSelected = true;
  838. bitmap = "tools/gui/images/scrollBar";
  839. hasBitmapArray = true;
  840. opaque=true;
  841. border=true;
  842. textOffset = "4 0";
  843. category = "Editor";
  844. };
  845. singleton GuiControlProfile( InspectorTypeCheckboxProfile : GuiInspectorFieldProfile )
  846. {
  847. bitmap = "tools/gui/images/checkBox";
  848. hasBitmapArray = true;
  849. opaque=false;
  850. border=false;
  851. textOffset = "4 0";
  852. category = "Editor";
  853. };
  854. singleton GuiControlProfile( GuiToolboxButtonProfile : ToolsGuiButtonProfile )
  855. {
  856. justify = "center";
  857. fontColor = "0 0 0";
  858. border = 0;
  859. textOffset = "0 0";
  860. category = "Editor";
  861. };
  862. singleton GuiControlProfile( GuiDirectoryTreeProfile : ToolsGuiTreeViewProfile )
  863. {
  864. fontColor = "40 40 40";
  865. fontColorSEL= "250 250 250 175";
  866. fillColorHL = "0 60 150";
  867. fontColorNA = "240 240 240";
  868. fontType = "Arial";
  869. fontSize = 14;
  870. category = "Editor";
  871. };
  872. singleton GuiControlProfile( GuiDirectoryFileListProfile )
  873. {
  874. fontColor = "40 40 40";
  875. fontColorSEL= "250 250 250 175";
  876. fillColorHL = "0 60 150";
  877. fontColorNA = "240 240 240";
  878. fontType = "Arial";
  879. fontSize = 14;
  880. category = "Editor";
  881. };
  882. singleton GuiControlProfile( GuiDragAndDropProfile )
  883. {
  884. category = "Editor";
  885. };
  886. singleton GuiControlProfile( GuiInspectorFieldInfoPaneProfile )
  887. {
  888. opaque = false;
  889. fillcolor = GuiInspectorBackgroundProfile.fillColor;
  890. borderColor = ToolsGuiDefaultProfile.borderColor;
  891. border = 1;
  892. category = "Editor";
  893. };
  894. singleton GuiControlProfile( GuiInspectorFieldInfoMLTextProfile : ToolsGuiMLTextProfile )
  895. {
  896. opaque = false;
  897. border = 0;
  898. textOffset = "5 0";
  899. category = "Editor";
  900. };
  901. singleton GuiControlProfile( GuiEditorScrollProfile )
  902. {
  903. opaque = true;
  904. fillcolor = GuiInspectorBackgroundProfile.fillColor;
  905. borderColor = ToolsGuiDefaultProfile.borderColor;
  906. border = 1;
  907. bitmap = "tools/gui/images/scrollBar";
  908. hasBitmapArray = true;
  909. category = "Editor";
  910. };
  911. singleton GuiControlProfile( GuiCreatorIconButtonProfile )
  912. {
  913. opaque = true;
  914. fillColor = "225 243 252 255";
  915. fillColorHL = "225 243 252 0";
  916. fillColorNA = "225 243 252 0";
  917. fillColorSEL = "225 243 252 0";
  918. //tab = true;
  919. //canKeyFocus = true;
  920. fontType = "Arial";
  921. fontSize = 14;
  922. fontColor = "0 0 0";
  923. fontColorSEL = "43 107 206";
  924. fontColorHL = "244 244 244";
  925. fontColorNA = "100 100 100";
  926. border = 1;
  927. borderColor = "153 222 253 255";
  928. borderColorHL = "156 156 156";
  929. borderColorNA = "153 222 253 0";
  930. //bevelColorHL = "255 255 255";
  931. //bevelColorLL = "0 0 0";
  932. category = "Editor";
  933. };
  934. singleton GuiControlProfile( GuiMenuBarProfile )
  935. {
  936. fillcolor = "255 255 255";
  937. fillcolorHL = "213 231 248";
  938. borderColor = "98 163 229";
  939. borderColorHL = "122 177 232";
  940. border = 0;
  941. borderThickness = 1;
  942. opaque = true;
  943. mouseOverSelected = true;
  944. category = "Editor";
  945. bitmap = "tools/gui/images/checkbox-menubar";
  946. };