| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247 |
- //-----------------------------------------------------------------------------
- // Copyright (c) 2012 GarageGames, LLC
- //
- // Permission is hereby granted, free of charge, to any person obtaining a copy
- // of this software and associated documentation files (the "Software"), to
- // deal in the Software without restriction, including without limitation the
- // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
- // sell copies of the Software, and to permit persons to whom the Software is
- // furnished to do so, subject to the following conditions:
- //
- // The above copyright notice and this permission notice shall be included in
- // all copies or substantial portions of the Software.
- //
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
- // IN THE SOFTWARE.
- //-----------------------------------------------------------------------------
- function execEditorProfilesCS()
- {
- exec("./profiles.ed." @ $TorqueScriptFileExtension);
- }
- $Gui::clipboardFile = expandFilename("./clipboard.gui");
- if( !isObject( ToolsGuiDefaultProfile ) )
- new GuiControlProfile (ToolsGuiDefaultProfile)
- {
- tab = false;
- canKeyFocus = false;
- hasBitmapArray = false;
- mouseOverSelected = false;
- // fill color
- opaque = false;
- fillColor = EditorSettings.value("Theme/tabsColor");
- fillColorHL = EditorSettings.value("Theme/tabsGLColor");
- fillColorSEL = EditorSettings.value("Theme/tabsSELColor");
- fillColorNA = EditorSettings.value("Theme/tabsSELColor");
- // border color
- border = 0;
- borderColor = EditorSettings.value("Theme/dividerDarkColor");
- borderColorHL = EditorSettings.value("Theme/dividerMidColor");
- borderColorNA = EditorSettings.value("Theme/dividerLightColor");
- // font
- fontType = "Noto Sans";
- fontSize = 14;
- fontCharset = ANSI;
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
- fontColorSEL= EditorSettings.value("Theme/fieldTextSELColor");
- // bitmap information
- bitmapAsset = "";
- bitmapBase = "";
- textOffset = "0 0";
- // used by guiTextControl
- modal = true;
- justify = "left";
- autoSizeWidth = false;
- autoSizeHeight = false;
- returnTab = false;
- numbersOnly = false;
- cursorColor = "215 215 215 255";
- // sounds
- //soundButtonDown = "";
- //soundButtonOver = "";
- };
- if( !isObject( ToolsGuiSolidDefaultProfile ) )
- new GuiControlProfile (ToolsGuiSolidDefaultProfile : ToolsGuiDefaultProfile)
- {
- opaque = true;
- border = true;
- category = "Tools";
- };
- if( !isObject( ToolsGuiDefaultNonModalProfile ) )
- new GuiControlProfile (ToolsGuiDefaultNonModalProfile : ToolsGuiDefaultProfile)
- {
- opaque = false;
- modal = false;
- category = "Tools";
- };
- if( !isObject( ToolsGuiTransparentProfile ) )
- new GuiControlProfile (ToolsGuiTransparentProfile)
- {
- opaque = false;
- border = false;
- category = "Tools";
- };
- if( !isObject( ToolsGuiGroupBorderProfile ) )
- new GuiControlProfile( ToolsGuiGroupBorderProfile )
- {
- border = false;
- opaque = false;
- hasBitmapArray = true;
- bitmapAsset = "ToolsModule:group_border_image";
- category = "Tools";
- };
- if( !isObject( ToolsGuiTabBorderProfile ) )
- new GuiControlProfile( ToolsGuiTabBorderProfile )
- {
- border = false;
- opaque = false;
- hasBitmapArray = true;
- bitmapAsset = "ToolsModule:tab_border_image";
- category = "Tools";
- };
- if( !isObject( ToolsGuiToolTipProfile ) )
- new GuiControlProfile (ToolsGuiToolTipProfile)
- {
- // fill color
- fillColor = EditorSettings.value("Theme/tooltipBGColor");
- // border color
- borderColor = EditorSettings.value("Theme/tooltipDivColor");
- // font
- fontType = "Noto Sans";
- fontSize = 14;
- fontColor = EditorSettings.value("Theme/tooltipTextColor");
- category = "Tools";
- };
- if( !isObject( ToolsGuiModelessDialogProfile ) )
- new GuiControlProfile( ToolsGuiModelessDialogProfile )
- {
- modal = false;
- category = "Tools";
- };
- if( !isObject( ToolsGuiFrameSetProfile ) )
- new GuiControlProfile (ToolsGuiFrameSetProfile)
- {
- fillColor = EditorSettings.value("Theme/windowBackgroundColor");
- borderColor = "246 245 244";
- border = 1;
- opaque = true;
- border = true;
- category = "Tools";
- };
- if( !isObject( ToolsGuiWindowProfile ) )
- new GuiControlProfile (ToolsGuiWindowProfile)
- {
- opaque = false;
- border = 1;
- fillColor = EditorSettings.value("Theme/tabsColor");
- fillColorHL = EditorSettings.value("Theme/tabsColor");
- fillColorNA = EditorSettings.value("Theme/tabsColor");
- fontColor = EditorSettings.value("Theme/headerTextColor");
- fontColorHL = EditorSettings.value("Theme/headerTextColor");
- bevelColorHL = "255 255 255";
- bevelColorLL = "0 0 0";
- text = "untitled";
- bitmapAsset = "ToolsModule:window_image";
- textOffset = "10 4";
- hasBitmapArray = true;
- justify = "left";
- category = "Tools";
- };
- if( !isObject( ToolsGuiToolbarWindowProfile ) )
- new GuiControlProfile(ToolsGuiToolbarWindowProfile : ToolsGuiWindowProfile)
- {
- bitmapAsset = "ToolsModule:toolbar_window_image";
- text = "";
- category = "Tools";
- };
- if( !isObject( ToolsGuiWindowCollapseProfile ) )
- new GuiControlProfile (ToolsGuiWindowCollapseProfile : ToolsGuiWindowProfile)
- {
- category = "Tools";
- };
- if( !isObject( ToolsGuiTextProfile ) )
- new GuiControlProfile (ToolsGuiTextProfile)
- {
- opaque = true;
- justify = "left";
- fontColor = EditorSettings.value("Theme/headerTextColor");
- category = "Tools";
- };
- if( !isObject( ToolsGuiTextBoldProfile ) )
- new GuiControlProfile (ToolsGuiTextBoldProfile : ToolsGuiTextProfile)
- {
- fontType = "Noto Sans Bold";
- };
- if( !isObject( ToolsGuiTextBoldCenterProfile ) )
- new GuiControlProfile (ToolsGuiTextBoldCenterProfile : ToolsGuiTextProfile)
- {
- fontColor = EditorSettings.value("Theme/headerTextColor");
- fontType = "Noto Sans Bold";
- fontSize = 16;
- justify = "center";
- category = "Tools";
- };
- if( !isObject( ToolsGuiTextRightProfile ) )
- new GuiControlProfile (ToolsGuiTextRightProfile : ToolsGuiTextProfile)
- {
- justify = "right";
- category = "Tools";
- };
- if( !isObject( ToolsGuiTextBoldRightProfile ) )
- new GuiControlProfile (ToolsGuiTextBoldRightProfile : ToolsGuiTextRightProfile)
- {
- fontType = "Noto Sans Bold";
- fontSize = 16;
- };
- if( !isObject( ToolsGuiTextCenterProfile ) )
- new GuiControlProfile (ToolsGuiTextCenterProfile : ToolsGuiTextProfile)
- {
- justify = "center";
- category = "Tools";
- };
- if( !isObject( ToolsGuiInspectorTitleTextProfile ) )
- new GuiControlProfile (ToolsGuiInspectorTitleTextProfile)
- {
- fontColor = EditorSettings.value("Theme/headerTextColor");
- category = "Tools";
- };
- if( !isObject( ToolsGuiAutoSizeTextProfile ) )
- new GuiControlProfile (ToolsGuiAutoSizeTextProfile)
- {
- fontColor = "215 215 215";
- autoSizeWidth = true;
- autoSizeHeight = true;
- category = "Tools";
- };
- if( !isObject( ToolsGuiMLTextProfile ) )
- new GuiControlProfile( ToolsGuiMLTextProfile )
- {
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
-
- fontColorLink = EditorSettings.value("Theme/fieldTextColor");
- fontColorLinkHL = EditorSettings.value("Theme/fieldTextHLColor");
- autoSizeWidth = true;
- autoSizeHeight = true;
- border = false;
- category = "Tools";
- };
- if( !isObject( ToolsGuiTextArrayProfile ) )
- new GuiControlProfile( ToolsGuiTextArrayProfile : ToolsGuiTextProfile )
- {
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
- fillColor = EditorSettings.value("Theme/fieldBGColor");
- fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
- fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
- border = false;
- category = "Tools";
- };
- if( !isObject( ToolsGuiTextListProfile ) )
- new GuiControlProfile( ToolsGuiTextListProfile : ToolsGuiTextProfile )
- {
- tab = true;
- canKeyFocus = true;
- category = "Tools";
- };
- if( !isObject( ToolsGuiTextEditProfile ) )
- new GuiControlProfile( ToolsGuiTextEditProfile )
- {
- opaque = true;
- bitmapAsset = "ToolsModule:textEditFrame_image";
- hasBitmapArray = true;
- border = -2; // fix to display textEdit img
- //borderWidth = "1"; // fix to display textEdit img
- //borderColor = "100 100 100";
- fillColor = EditorSettings.value("Theme/fieldBGColor");
- fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
- fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
-
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextSELColor");
- fontColorNA = EditorSettings.value("Theme/fieldTextNAColor");
- textOffset = "4 2";
- autoSizeWidth = false;
- autoSizeHeight = true;
- justify = "left";
- tab = true;
- canKeyFocus = true;
- category = "Tools";
- };
- if( !isObject( ToolsGuiNumericTextEditProfile ) )
- new GuiControlProfile( ToolsGuiNumericTextEditProfile : ToolsGuiTextEditProfile )
- {
- numbersOnly = true;
- category = "Tools";
- };
- if( !isObject( ToolsGuiNumericDropSliderTextProfile ) )
- new GuiControlProfile( ToolsGuiNumericDropSliderTextProfile : ToolsGuiTextEditProfile )
- {
- bitmapAsset = "ToolsModule:textEditSliderBox_image";
- category = "Tools";
- };
- if( !isObject( ToolsGuiRLProgressBitmapProfile ) )
- new GuiControlProfile( ToolsGuiRLProgressBitmapProfile )
- {
- border = false;
- hasBitmapArray = true;
- bitmapAsset = "ToolsModule:rl_loadingbar_image";
- category = "Tools";
- };
- if( !isObject( ToolsGuiProgressTextProfile ) )
- new GuiControlProfile( ToolsGuiProgressTextProfile )
- {
- fontSize = "14";
- fontType = "Noto Sans";
- fontColor = "215 215 215";
- justify = "center";
- category = "Tools";
- };
- if( !isObject( ToolsGuiButtonProfile ) )
- new GuiControlProfile( ToolsGuiButtonProfile )
- {
- opaque = true;
- border = true;
- fillColor = EditorSettings.value("Theme/tabsColor");
- fillColorHL = EditorSettings.value("Theme/tabsGLColor");
- fillColorSEL = EditorSettings.value("Theme/tabsSELColor");
- fillColorNA = EditorSettings.value("Theme/tabsSELColor");
-
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
- fixedExtent = false;
- justify = "center";
- canKeyFocus = false;
- hasBitmapArray = false;
- category = "Tools";
- };
- if( !isObject( ToolsGuiThumbHighlightButtonProfile ) )
- new GuiControlProfile( ToolsGuiThumbHighlightButtonProfile : ToolsGuiButtonProfile )
- {
- bitmapAsset = "ToolsModule:thumbHightlightButton_image";
- category = "Tools";
- };
- if( !isObject( ToolsGuiIconButtonProfile ) )
- new GuiControlProfile( ToolsGuiIconButtonProfile )
- {
- opaque = true;
- border = true;
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
- fixedExtent = false;
- justify = "center";
- canKeyFocus = false;
- bitmapAsset = "ToolsModule:iconbutton_image";
- hasBitmapArray = true;
- category = "Tools";
- };
- if( !isObject( ToolsGuiIconButtonSmallProfile ) )
- new GuiControlProfile( ToolsGuiIconButtonSmallProfile : ToolsGuiIconButtonProfile )
- {
- bitmapAsset = "ToolsModule:iconbuttonsmall_image";
- category = "Tools";
- };
- if( !isObject( ToolsGuiEditorTabPage ) )
- new GuiControlProfile(ToolsGuiEditorTabPage)
- {
- opaque = true;
- border = false;
- fillColor = EditorSettings.value("Theme/tabsColor");
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- borderColor = EditorSettings.value("Theme/dividerDarkColor");
- fixedExtent = false;
- justify = "left";
- canKeyFocus = false;
- bitmapAsset = "ToolsModule:tab_image";
- hasBitmapArray = true;
- category = "Tools";
- };
- if( !isObject( ToolsGuiCheckBoxProfile ) )
- new GuiControlProfile( ToolsGuiCheckBoxProfile )
- {
- opaque = false;
- fillColor = EditorSettings.value("Theme/fieldBGColor");
- border = false;
- borderColor = EditorSettings.value("Theme/dividerDarkColor");
- fontSize = 14;
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
- fixedExtent = true;
- justify = "left";
- bitmapAsset = "ToolsModule:checkbox_image";
- hasBitmapArray = true;
- category = "Tools";
- };
- if( !isObject( ToolsGuiCheckBoxListProfile ) )
- new GuiControlProfile( ToolsGuiCheckBoxListProfile : ToolsGuiCheckBoxProfile)
- {
- bitmapAsset = "ToolsModule:checkbox_list_image";
- category = "Tools";
- };
- if( !isObject( ToolsGuiCheckBoxListFlipedProfile ) )
- new GuiControlProfile( ToolsGuiCheckBoxListFlipedProfile : ToolsGuiCheckBoxProfile)
- {
- bitmapAsset = "ToolsModule:checkbox_list_fliped_image";
- category = "Tools";
- };
- if( !isObject( ToolsGuiInspectorCheckBoxTitleProfile ) )
- new GuiControlProfile( ToolsGuiInspectorCheckBoxTitleProfile : ToolsGuiCheckBoxProfile ){
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- category = "Tools";
- };
- if( !isObject( ToolsGuiRadioProfile ) )
- new GuiControlProfile( ToolsGuiRadioProfile )
- {
- fontSize = 14;
- fillColor = EditorSettings.value("Theme/fieldBGColor");
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- fixedExtent = true;
- bitmapAsset = "ToolsModule:radioButton_image";
- hasBitmapArray = true;
- category = "Tools";
- };
- if( !isObject( ToolsGuiScrollProfile ) )
- new GuiControlProfile( ToolsGuiScrollProfile )
- {
- opaque = true;
- fillColor = EditorSettings.value("Theme/tabsColor");
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- borderColor = EditorSettings.value("Theme/dividerDarkColor");
- border = true;
- bitmapAsset = "ToolsModule:scrollBar_image";
- hasBitmapArray = true;
- category = "Tools";
- };
- if( !isObject( ToolsGuiOverlayProfile ) )
- new GuiControlProfile( ToolsGuiOverlayProfile )
- {
- opaque = false;
- fillColor = EditorSettings.value("Theme/windowBackgroundColor");
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextGLColor");
- category = "Tools";
- };
- if( !isObject( ToolsGuiSliderProfile ) )
- new GuiControlProfile( ToolsGuiSliderProfile )
- {
- bitmapAsset = "ToolsModule:slider_image";
- category = "Tools";
- };
- if( !isObject( ToolsGuiSliderBoxProfile ) )
- new GuiControlProfile( ToolsGuiSliderBoxProfile )
- {
- bitmapAsset = "ToolsModule:slider_w_box_image";
- category = "Tools";
- };
- if( !isObject( ToolsGuiPopupMenuItemBorder ) )
- new GuiControlProfile( ToolsGuiPopupMenuItemBorder : ToolsGuiButtonProfile )
- {
- opaque = true;
- border = true;
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextGLColor");
- fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
- fixedExtent = false;
- justify = "center";
- canKeyFocus = false;
- bitmapAsset = "ToolsModule:button_image";
- category = "Tools";
- };
- if( !isObject( ToolsGuiPopUpMenuDefault ) )
- new GuiControlProfile( ToolsGuiPopUpMenuDefault : ToolsGuiDefaultProfile )
- {
- opaque = true;
- mouseOverSelected = true;
- textOffset = "3 3";
- border = 0;
- borderThickness = 0;
- fixedExtent = true;
- bitmapAsset = "ToolsModule:scrollBar_image";
- hasBitmapArray = true;
- profileForChildren = ToolsGuiPopupMenuItemBorder;
- fillColor = EditorSettings.value("Theme/fieldBGColor");//"255 255 255";//100
- fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");//"91 101 116";
- fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");//"91 101 116";
-
- // font color is black
- fontColor = EditorSettings.value("Theme/fieldTextColor");//"215 215 215";
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");//"215 215 215";
- fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");//"215 215 215";
- fontColorNA = EditorSettings.value("Theme/fieldTextColor");//"215 215 215";
-
- borderColor = EditorSettings.value("Theme/dividerDarkColor");
- category = "Tools";
- };
- if( !isObject( ToolsGuiPopUpMenuProfile ) )
- new GuiControlProfile( ToolsGuiPopUpMenuProfile : ToolsGuiPopUpMenuDefault )
- {
- textOffset = "6 4";
- bitmapAsset = "ToolsModule:dropDown_image";
- hasBitmapArray = true;
- border = 1;
- profileForChildren = ToolsGuiPopUpMenuDefault;
- category = "Tools";
- };
- if( !isObject( ToolsGuiPopUpMenuTabProfile ) )
- new GuiControlProfile( ToolsGuiPopUpMenuTabProfile : ToolsGuiPopUpMenuDefault )
- {
- bitmapAsset = "ToolsModule:dropDown_tab_image";
- textOffset = "6 4";
- canKeyFocus = true;
- hasBitmapArray = true;
- border = 1;
- profileForChildren = ToolsGuiPopUpMenuDefault;
- category = "Tools";
- };
- if( !isObject( ToolsGuiPopUpMenuEditProfile ) )
- new GuiControlProfile( ToolsGuiPopUpMenuEditProfile : ToolsGuiPopUpMenuDefault )
- {
- textOffset = "6 4";
- canKeyFocus = true;
- bitmapAsset = "ToolsModule:dropDown_image";
- hasBitmapArray = true;
- border = 1;
- profileForChildren = ToolsGuiPopUpMenuDefault;
- category = "Tools";
- };
- if( !isObject( ToolsGuiListBoxProfile ) )
- new GuiControlProfile( ToolsGuiListBoxProfile )
- {
- fillColorHL = EditorSettings.value("Theme/windowBackgroundColor");
- fillColorNA = EditorSettings.value("Theme/windowBackgroundColor");
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
-
- tab = true;
- canKeyFocus = true;
- category = "Tools";
- };
- if( !isObject( ToolsGuiTabBookProfile ) )
- new GuiControlProfile( ToolsGuiTabBookProfile )
- {
- fillColorHL = EditorSettings.value("Theme/windowBackgroundColor");
- fillColorNA = EditorSettings.value("Theme/windowBackgroundColor");
- fontColor = EditorSettings.value("Theme/headerTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
- fontType = "Noto Sans";
- fontSize = 14;
- justify = "center";
- bitmapAsset = "ToolsModule:tab_image";
- tabWidth = 65;
- tabHeight = 25;
- tabPosition = "Top";
- tabRotation = "Horizontal";
- textOffset = "10 0";
- tab = true;
- cankeyfocus = true;
- category = "Tools";
- };
- if( !isObject( ToolsGuiTabBookNoBitmapProfile ) )
- new GuiControlProfile( ToolsGuiTabBookNoBitmapProfile : ToolsGuiTabBookProfile )
- {
- bitmapAsset = "";
- category = "Tools";
- };
- if( !isObject( ToolsGuiTabPageProfile ) )
- new GuiControlProfile( ToolsGuiTabPageProfile : ToolsGuiDefaultProfile )
- {
- fontType = "Noto Sans";
- fontSize = 10;
- justify = "center";
- bitmapAsset = "ToolsModule:tab_image";
- opaque = false;
- fillColor = "240 239 238";
- category = "Tools";
- };
- if( !isObject( ToolsGuiTreeViewProfile ) )
- new GuiControlProfile( ToolsGuiTreeViewProfile )
- {
- bitmapAsset = "ToolsModule:treeView_image";
- autoSizeHeight = true;
- canKeyFocus = true;
- fillColor = EditorSettings.value("Theme/windowBackgroundColor");
- fillColorHL = "116 116 116";
- fillColorSEL = "91 101 116";
- fillColorNA = "40 40 40";
- fontColor = "215 215 215";
- fontColorHL = "240 240 240";
- fontColorSEL= "240 240 240";
- fontColorNA = "150 150 150";
- borderColor = "34 34 34";
- borderColorHL = "34 34 34";
- fontSize = 14;
- opaque = false;
- border = false;
- category = "Tools";
-
- fontColors[9] = "0 128 128"; //for active/selection of elements
- };
- if( !isObject( ToolsGuiTextPadProfile ) )
- new GuiControlProfile( ToolsGuiTextPadProfile )
- {
- fontType = ($platform $= "macos") ? "Monaco" : "Lucida Console";
- fontSize = ($platform $= "macos") ? 13 : 12;
- tab = true;
- canKeyFocus = true;
-
- // Deviate from the Default
- opaque=true;
- fillColor = EditorSettings.value("Theme/windowBackgroundColor");
- fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
- fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
-
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
-
- cursorColor = EditorSettings.value("Theme/fieldTextSELColor");
- border = 0;
- category = "Tools";
- };
- if( !isObject( ToolsGuiFormProfile ) )
- new GuiControlProfile( ToolsGuiFormProfile : ToolsGuiTextProfile )
- {
- opaque = false;
- border = 5;
- justify = "center";
- profileForChildren = ToolsGuiButtonProfile;
- opaque = false;
- hasBitmapArray = true;
- bitmapAsset = "ToolsModule:button_image";
- category = "Tools";
- };
- // ----------------------------------------------------------------------------
- singleton GuiControlProfile( GuiEditorClassProfile )
- {
- opaque = true;
- fillColor = "232 232 232";
- border = 1;
- borderColor = "42 42 42 140";
- borderColorHL = "127 127 127";
- fontColor = "215 215 215";
- fontColorHL = "50 50 50";
- fixedExtent = true;
- justify = "center";
- bitmapAsset = "ToolsModule:scrollBar_image";
- hasBitmapArray = true;
- category = "Editor";
- };
- singleton GuiControlProfile( GuiBackFillProfile )
- {
- opaque = true;
- fillColor = "0 94 94";
- border = true;
- borderColor = "255 128 128";
- fontType = "Noto Sans";
- fontSize = 12;
- fontColor = "215 215 215";
- fontColorHL = "50 50 50";
- fixedExtent = true;
- justify = "center";
- category = "Editor";
- };
- singleton GuiControlProfile( GuiControlListPopupProfile )
- {
- opaque = true;
- fillColor = EditorSettings.value("Theme/windowBackgroundColor");
- fillColorHL = "91 101 116";
- border = false;
- //borderColor = "0 0 0";
- fontColor = "215 215 215";
- fontColorHL = "240 240 240";
- fontColorNA = "50 50 50";
- textOffset = "0 2";
- autoSizeWidth = false;
- autoSizeHeight = true;
- tab = true;
- canKeyFocus = true;
- bitmapAsset = "ToolsModule:scrollBar_image";
- hasBitmapArray = true;
- category = "Editor";
- };
- singleton GuiControlProfile( GuiSceneGraphEditProfile )
- {
- canKeyFocus = true;
- tab = true;
- category = "Editor";
- };
- singleton GuiControlProfile( GuiInspectorButtonProfile : ToolsGuiButtonProfile )
- {
- //border = 1;
- justify = "Center";
- category = "Editor";
- };
- singleton GuiControlProfile( GuiInspectorSwatchButtonProfile )
- {
- borderColor = EditorSettings.value("Theme/dividerDarkColor");
- borderColorNA = EditorSettings.value("Theme/dividerMidColor");
- fillColorNA = EditorSettings.value("Theme/fieldBGColor");
- borderColorHL = EditorSettings.value("Theme/dividerLightColor");
- category = "Editor";
- };
- singleton GuiControlProfile( GuiInspectorTextEditProfile )
- {
- // Transparent Background
- opaque = true;
- fillColor = EditorSettings.value("Theme/fieldBGColor");
- fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
- fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
- fillColorNA = EditorSettings.value("Theme/fieldBGSELColor");
- // No Border (Rendered by field control)
- border = false;
- tab = true;
- canKeyFocus = true;
- // font
- fontType = "Noto Sans";
- fontSize = 14;
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextSELColor");
- fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
- category = "Editor";
- };
- singleton GuiControlProfile( GuiDropdownTextEditProfile : ToolsGuiTextEditProfile )
- {
- bitmapAsset = "ToolsModule:dropdown_textEdit_image";
- category = "Editor";
- };
- singleton GuiControlProfile( GuiInspectorTextEditRightProfile : GuiInspectorTextEditProfile )
- {
- justify = "right";
- category = "Editor";
- };
- singleton GuiControlProfile( GuiInspectorGroupProfile )
- {
- fontType = "Noto Sans";
- fontSize = "14";
-
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
-
- justify = "left";
- opaque = false;
- border = false;
-
- bitmapAsset = "ToolsModule:rollout_image";
-
- textOffset = "20 0";
- category = "Editor";
- };
- singleton GuiControlProfile( GuiInspectorFieldProfile)
- {
- // fill color
- opaque = true;
- fillColor = EditorSettings.value("Theme/fieldBGColor");
- fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
- fillColorSEL = EditorSettings.value("Theme/fieldBGSELColor");
- fillColorNA = EditorSettings.value("Theme/fieldBGSELColor");
- // border color
- border = false;
- borderColor = EditorSettings.value("Theme/dividerDarkColor");
- borderColorHL = EditorSettings.value("Theme/dividerMidColor");
- borderColorNA = EditorSettings.value("Theme/dividerLightColor");
-
- //bevelColorHL = "255 255 255";
- //bevelColorLL = "0 0 0";
- // font
- fontType = "Noto Sans";
- fontSize = 14;
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
- textOffset = "10 0";
- tab = true;
- canKeyFocus = true;
- category = "Editor";
- };
- /*
- singleton GuiControlProfile( GuiInspectorMultiFieldProfile : GuiInspectorFieldProfile )
- {
- opaque = true;
- fillColor = "50 50 230 30";
- };
- */
- singleton GuiControlProfile( GuiInspectorMultiFieldDifferentProfile : GuiInspectorFieldProfile )
- {
- border = true;
- borderColor = EditorSettings.value("Theme/dividerMidColor");
- };
- singleton GuiControlProfile( GuiInspectorDynamicFieldProfile : GuiInspectorFieldProfile )
- {
- // Transparent Background
- opaque = true;
- fillColor = EditorSettings.value("Theme/fieldBGColor");
- fillColorHL = EditorSettings.value("Theme/fieldBGHLColor");
- // No Border (Rendered by field control)
- border = false;
- tab = true;
- canKeyFocus = true;
- // font
- fontType = "Noto Sans";
- fontSize = 14;
- fontColor = EditorSettings.value("Theme/headerTextColor");
- fontColorSEL = EditorSettings.value("Theme/fieldTextHLColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextSELColor");
- fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
- category = "Editor";
- };
- singleton GuiControlProfile( GuiRolloutProfile )
- {
- border = 0;
- borderColor = EditorSettings.value("Theme/dividerLightColor");
-
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
-
- hasBitmapArray = true;
- bitmapAsset = "ToolsModule:rollout_image";
-
- textoffset = "17 0";
- category = "Editor";
- };
- singleton GuiControlProfile( GuiInspectorRolloutProfile0 )
- {
- // font
- fontType = "Noto Sans";
- fontSize = 14;
- fontColor = "32 32 32";
- fontColorHL = "32 100 100";
- fontColorNA = "215 215 215";
-
- justify = "left";
- opaque = false;
-
- border = 0;
- borderColor = "190 190 190";
- borderColorHL = "156 156 156";
- borderColorNA = "64 64 64";
-
- bitmapAsset = "ToolsModule:rollout_plusminus_header_image";
-
- textOffset = "20 0";
- category = "Editor";
- };
- singleton GuiControlProfile( GuiInspectorStackProfile )
- {
- opaque = false;
- border = false;
- category = "Editor";
-
- fillColor = EditorSettings.value("Theme/tabsColor");
- fillColorHL = EditorSettings.value("Theme/tabsHLColor");
-
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
- };
- singleton GuiControlProfile( GuiInspectorProfile : GuiInspectorFieldProfile )
- {
- opaque = true;
- fillColor = EditorSettings.value("Theme/windowBackgroundColor");
- border = 0;
- cankeyfocus = true;
- tab = true;
- category = "Editor";
- };
- singleton GuiControlProfile( GuiInspectorInfoProfile : GuiInspectorFieldProfile )
- {
- opaque = true;
- fillColor = EditorSettings.value("Theme/windowBackgroundColor");
- border = 0;
- cankeyfocus = true;
- tab = true;
- category = "Editor";
- };
- singleton GuiControlProfile( GuiInspectorBackgroundProfile : GuiInspectorFieldProfile )
- {
- border = 0;
- cankeyfocus=true;
- tab = true;
- category = "Editor";
- };
- singleton GuiControlProfile( GuiInspectorTypeFileNameProfile )
- {
- // Transparent Background
- opaque = false;
- // No Border (Rendered by field control)
- border = 0;
- tab = true;
- canKeyFocus = true;
- // font
- fontType = "Noto Sans";
- fontSize = 14;
-
- // Center text
- justify = "center";
- fontColor = "240 240 240";
- fontColorHL = "240 240 240";
- fontColorNA = "215 215 215";
- fillColor = EditorSettings.value("Theme/windowBackgroundColor");
- fillColorHL = "91 101 116";
- fillColorNA = "244 244 244";
- borderColor = "190 190 190";
- borderColorHL = "156 156 156";
- borderColorNA = "64 64 64";
- category = "Editor";
- };
- singleton GuiControlProfile( GuiInspectorColumnCtrlProfile : GuiInspectorFieldProfile )
- {
- opaque = true;
- fillColor = "210 210 210";
- border = 0;
- category = "Editor";
- };
- singleton GuiControlProfile( InspectorTypeEnumProfile : GuiInspectorFieldProfile )
- {
- mouseOverSelected = true;
- bitmapAsset = "ToolsModule:scrollBar_image";
- hasBitmapArray = true;
- opaque=true;
- border=true;
- textOffset = "4 0";
- category = "Editor";
- };
- singleton GuiControlProfile( InspectorTypeCheckboxProfile : GuiInspectorFieldProfile )
- {
- bitmapAsset = "ToolsModule:checkBox_image";
- hasBitmapArray = true;
- opaque=false;
- border=false;
- textOffset = "4 0";
- category = "Editor";
- };
- singleton GuiControlProfile( GuiToolboxButtonProfile : ToolsGuiButtonProfile )
- {
- justify = "center";
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- border = 0;
- textOffset = "0 0";
- category = "Editor";
- };
- singleton GuiControlProfile( GuiDirectoryTreeProfile : ToolsGuiTreeViewProfile )
- {
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorSEL= EditorSettings.value("Theme/fieldTextSELColor");
- fillColorHL = EditorSettings.value("Theme/fieldBGColor");
- fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
- fontType = "Noto Sans";
- fontSize = 14;
- category = "Editor";
- };
- singleton GuiControlProfile( GuiDirectoryFileListProfile )
- {
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorSEL= EditorSettings.value("Theme/fieldTextSELColor");
- fillColorHL = EditorSettings.value("Theme/fieldBGColor");
- fontColorNA = EditorSettings.value("Theme/fieldTextSELColor");
- fontType = "Noto Sans";
- fontSize = 14;
- category = "Editor";
- };
- singleton GuiControlProfile( GuiDragAndDropProfile )
- {
- category = "Editor";
- };
- singleton GuiControlProfile( GuiInspectorFieldInfoPaneProfile )
- {
- opaque = false;
- fillcolor = GuiInspectorBackgroundProfile.fillColor;
- borderColor = ToolsGuiDefaultProfile.borderColor;
- border = 1;
- category = "Editor";
- };
- singleton GuiControlProfile( GuiInspectorFieldInfoMLTextProfile : ToolsGuiMLTextProfile )
- {
- opaque = false;
- border = 0;
- textOffset = "5 0";
- category = "Editor";
-
- fontColor = EditorSettings.value("Theme/fieldTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
- };
- singleton GuiControlProfile( GuiEditorScrollProfile )
- {
- opaque = true;
- fillcolor = EditorSettings.value("Theme/windowBackgroundColor");
- borderColor = EditorSettings.value("Theme/dividerDarkColor");
- border = 1;
- bitmapAsset = "ToolsModule:scrollBar_image";
- hasBitmapArray = true;
- category = "Editor";
- };
- singleton GuiControlProfile( GuiCreatorIconButtonProfile )
- {
- opaque = true;
- fillColor = "225 243 252 255";
- fillColorHL = "225 243 252 0";
- fillColorNA = "225 243 252 0";
- fillColorSEL = "225 243 252 0";
-
- //tab = true;
- //canKeyFocus = true;
- fontType = "Noto Sans";
- fontSize = 14;
- fontColor = "215 215 215";
- fontColorSEL = "43 107 206";
- fontColorHL = "244 244 244";
- fontColorNA = "100 100 100";
-
- border = 1;
- borderColor = "153 222 253 255";
- borderColorHL = "156 156 156";
- borderColorNA = "153 222 253 0";
-
- //bevelColorHL = "255 255 255";
- //bevelColorLL = "0 0 0";
- category = "Editor";
- };
- singleton GuiControlProfile( ToolsGuiMenuBarProfile )
- {
- fillColor = EditorSettings.value("Theme/headerColor");
- fillcolorHL = EditorSettings.value("Theme/tabsSELColor");
- borderColor = EditorSettings.value("Theme/dividerDarkColor");
- borderColorHL = EditorSettings.value("Theme/dividerMidColor");
- fontColor = EditorSettings.value("Theme/headerTextColor");
- fontColorSEL = EditorSettings.value("Theme/fieldTextSELColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- fontColorNA = EditorSettings.value("Theme/fieldTextNAColor");
- border = 0;
- borderThickness = 1;
- opaque = true;
- mouseOverSelected = true;
- category = "Editor";
- bitmapAsset = "ToolsModule:checkbox_menubar_image";
- };
- singleton GuiControlProfile( ToolsMenubarProfile : ToolsGuiDefaultProfile )
- {
- bitmap = "./menubar";
- category = "Editor";
-
- opaque = true;
-
- fillColor = EditorSettings.value("Theme/headerColor");
- fontColor = EditorSettings.value("Theme/headerTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- borderColor = EditorSettings.value("Theme/dividerDarkColor");
- };
- singleton GuiControlProfile (menubarProfile)
- {
- opaque = false;
- border = -2;
- category = "Editor";
-
- bitmap = "./menubar";
- category = "Editor";
-
- fillColor = EditorSettings.value("Theme/windowBackgroundColor");
- fontColor = EditorSettings.value("Theme/headerTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- borderColor = EditorSettings.value("Theme/dividerDarkColor");
- };
- singleton GuiControlProfile (editorMenubarProfile)
- {
- border = -2;
- category = "Editor";
- bitmap = "./editor-menubar";
- category = "Editor";
- };
- singleton GuiControlProfile (editorMenu_wBorderProfile)
- {
- border = -2;
- category = "Editor";
- bitmap = "./menu-fullborder";
- category = "Editor";
- };
- singleton GuiControlProfile (inspectorStyleRolloutProfile)
- {
- border = -2;
- category = "Editor";
- bitmap = "./inspector-style-rollout";
- category = "Editor";
- };
- singleton GuiControlProfile (inspectorStyleRolloutListProfile)
- {
- border = -2;
- category = "Editor";
- bitmap = "./inspector-style-rollout-list";
- category = "Editor";
- };
- singleton GuiControlProfile (inspectorStyleRolloutDarkProfile)
- {
- border = -2;
- category = "Editor";
- bitmap = "./inspector-style-rollout-dark";
-
- fillColor = EditorSettings.value("Theme/windowBackgroundColor");
- fontColor = EditorSettings.value("Theme/headerTextColor");
- fontColorHL = EditorSettings.value("Theme/fieldTextHLColor");
- borderColor = EditorSettings.value("Theme/dividerDarkColor");
- };
- singleton GuiControlProfile (inspectorStyleRolloutInnerProfile)
- {
- border = -2;
- category = "Editor";
- bitmap = "./inspector-style-rollout_inner";
- category = "Editor";
- };
- singleton GuiControlProfile (inspectorStyleRolloutNoHeaderProfile)
- {
- border = -2;
- category = "Editor";
- bitmap = "./inspector-style-rollout-noheader";
- category = "Editor";
- };
- singleton GuiControlProfile (IconDropdownProfile)
- {
- border = -2;
- opaque = true;
- border = true;
- category = "Editor";
- //bitmap = "./icon-dropdownbar";
-
- fillColor = EditorSettings.value("Theme/headerColor");
- };
|