| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544 |
- $TextMediumEmphasisColor = "200 200 200";
- $TextHighEmphasisColor = "224 224 224";
- $TextDisabledColor = "108 108 108";
- new GuiGameListMenuProfile(DefaultListMenuProfile)
- {
- fontType = "Arial Bold";
- fontSize = 20;
- fontColor = $TextMediumEmphasisColor;
- fontColorSEL = $TextMediumEmphasisColor;
- fontColorNA = $TextDisabledColor;
- fontColorHL = $TextMediumEmphasisColor;
-
- fillColor = "108 108 108";
- fillColorHL = "140 140 140";
- fillColorSEL = "180 180 180";
-
- HitAreaUpperLeft = "16 20";
- HitAreaLowerRight = "503 74";
- IconOffset = "40 0";
- TextOffset = "100 0";
- RowSize = "500 90";
- ColumnSplit = "250";
- RightPad = "20";
- bitmap = "data/ui/images/listMenuArray";
- canKeyFocus = true;
- };
- new GuiControlProfile(GamepadDefaultProfile)
- {
- border = 0;
- };
- new GuiControlProfile(GamepadButtonTextLeft)
- {
- fontType = "Arial Bold";
- fontSize = 20;
- fontColor = "255 255 255";
- justify = "left";
- };
- new GuiControlProfile(GamepadButtonTextRight : GamepadButtonTextLeft)
- {
- justify = "right";
- };
- new GuiControlProfile(MenuHeaderText)
- {
- fontType = "Arial Bold";
- fontSize = 30;
- fontColor = $TextHighEmphasisColor;
- justify = "left";
- };
- new GuiControlProfile(MenuHeaderTextCenter)
- {
- fontType = "Arial Bold";
- fontSize = 30;
- fontColor = $TextHighEmphasisColor;
- justify = "center";
- };
- new GuiControlProfile(MenuSubHeaderText)
- {
- fontType = "Arial Bold";
- fontSize = 20;
- fontColor = $TextMediumEmphasisColor;
- justify = "left";
- };
- new GuiControlProfile(MenuMLSubHeaderText)
- {
- fontType = "Arial Bold";
- fontSize = 20;
- fontColor = $TextMediumEmphasisColor;
- justify = "left";
- autoSizeWidth = true;
- autoSizeHeight = true;
- };
- if( !isObject( GuiMenuButtonProfile ) )
- new GuiControlProfile( GuiMenuButtonProfile )
- {
- opaque = true;
- border = true;
- fontSize = 18;
- fontType = "Arial Bold";
- fontColor = $TextMediumEmphasisColor;
- fontColorHL = $TextMediumEmphasisColor;
- fontColorNA = $TextDisabledColor;
- fontColorSEL = $TextMediumEmphasisColor;
- fillColor = "40 40 40";
- fillColorHL = "56 56 56";
- fillColorNA = "40 40 40";
- borderColor = "87 87 87";
- borderColorNA = "0 0 0";
- borderColorHL = "255 255 255";
- fixedExtent = false;
- justify = "center";
- canKeyFocus = false;
- //bitmap = "data/ui/images/menu-button";
- hasBitmapArray = false;
- soundButtonDown = menuButtonPressed;
- soundButtonOver = menuButtonHover;
- category = "Core";
- };
- if( !isObject( GuiHighlightMenuButtonProfile ) )
- new GuiControlProfile( GuiHighlightMenuButtonProfile )
- {
- opaque = true;
- border = false;
- fontSize = 18;
- fontType = "Arial Bold";
- fontColor = "240 240 240";
- fontColorHL = "0 0 0";
- fontColorNA = "125 125 125";
- //fontColorSEL ="0 0 0";
- fixedExtent = false;
- justify = "center";
- canKeyFocus = false;
- bitmap = "data/ui/images/selector-button-highlight-only";
- hasBitmapArray = false;
- category = "Core";
- };
- if( !isObject( GuiBlankMenuButtonProfile ) )
- new GuiControlProfile( GuiBlankMenuButtonProfile )
- {
- opaque = true;
- border = false;
- fontSize = 18;
- fontType = "Arial Bold";
- fontColor = "220 220 220";
- fontColorHL = "255 255 255";
- fontColorNA = "200 200 200";
- //fontColorSEL ="0 0 0";
- fixedExtent = false;
- justify = "center";
- canKeyFocus = false;
- bitmap = "data/ui/images/selector-button-blank";
- hasBitmapArray = false;
- soundButtonDown = menuButtonPressed;
- soundButtonOver = menuButtonHover;
- category = "Core";
- };
- if( !isObject( GuiMenuTextProfile ) )
- new GuiControlProfile( GuiMenuTextProfile )
- {
- opaque = true;
- border = false;
- fontSize = 18;
- fontType = "Arial Bold";
- fontColor = "240 240 240";
- fontColorHL = "0 0 0";
- fontColorNA = "125 125 125";
- fixedExtent = false;
- justify = "center";
- category = "Core";
- };
- if( !isObject( GuiSolidDefaultProfile ) )
- new GuiControlProfile (GuiSolidDefaultProfile)
- {
- opaque = true;
- border = true;
- category = "Core";
- };
- if( !isObject( GuiTransparentProfile ) )
- new GuiControlProfile (GuiTransparentProfile)
- {
- opaque = false;
- border = false;
- category = "Core";
- };
- if( !isObject( GuiGroupBorderProfile ) )
- new GuiControlProfile( GuiGroupBorderProfile )
- {
- border = false;
- opaque = false;
- hasBitmapArray = true;
- bitmap = "data/ui/images/group-border";
- category = "Core";
- };
- if( !isObject( GuiTabBorderProfile ) )
- new GuiControlProfile( GuiTabBorderProfile )
- {
- border = false;
- opaque = false;
- hasBitmapArray = true;
- bitmap = "data/ui/images/tab-border";
- category = "Core";
- };
- if( !isObject( GuiModelessDialogProfile ) )
- new GuiControlProfile( GuiModelessDialogProfile )
- {
- modal = false;
- category = "Core";
- };
- if( !isObject( GuiFrameSetProfile ) )
- new GuiControlProfile (GuiFrameSetProfile)
- {
- fillcolor = "255 255 255";
- borderColor = "246 245 244";
- border = 1;
- opaque = true;
- border = true;
- category = "Core";
- };
- if( !isObject( GuiInputCtrlProfile ) )
- new GuiControlProfile( GuiInputCtrlProfile )
- {
- tab = true;
- canKeyFocus = true;
- category = "Core";
- };
- if( !isObject( GuiTextProfile ) )
- new GuiControlProfile (GuiTextProfile)
- {
- justify = "left";
- fontColor = "20 20 20";
- category = "Core";
- };
- if( !isObject( GuiTextRightProfile ) )
- new GuiControlProfile (GuiTextRightProfile : GuiTextProfile)
- {
- justify = "right";
- category = "Core";
- };
- if( !isObject( GuiAutoSizeTextProfile ) )
- new GuiControlProfile (GuiAutoSizeTextProfile)
- {
- fontColor = "0 0 0";
- autoSizeWidth = true;
- autoSizeHeight = true;
- category = "Core";
- };
- if( !isObject( GuiMediumTextProfile ) )
- new GuiControlProfile( GuiMediumTextProfile : GuiTextProfile )
- {
- fontSize = 24;
- category = "Core";
- };
- if( !isObject( GuiBigTextProfile ) )
- new GuiControlProfile( GuiBigTextProfile : GuiTextProfile )
- {
- fontSize = 36;
- category = "Core";
- };
- if( !isObject( GuiMLTextProfile ) )
- new GuiControlProfile( GuiMLTextProfile )
- {
- fontColor = $TextMediumEmphasisColor;
- fontColorHL = $TextMediumEmphasisColor;
- fontColorSEL = $TextMediumEmphasisColor;
- fontColorNA = $TextDisabledColor;
-
- fontColorLink = "100 100 100";
- fontColorLinkHL = $TextMediumEmphasisColor;
- autoSizeWidth = true;
- autoSizeHeight = true;
- border = false;
- category = "Core";
- };
- if( !isObject( GuiMLWhiteTextProfile ) )
- new GuiControlProfile( GuiMLWhiteTextProfile )
- {
- fontColor = "220 220 220";
- fontColorHL = $TextMediumEmphasisColor;
- autoSizeWidth = true;
- autoSizeHeight = true;
- border = false;
- category = "Core";
- };
- if( !isObject( GuiTextArrayProfile ) )
- new GuiControlProfile( GuiTextArrayProfile : GuiTextProfile )
- {
- fontColor = $TextMediumEmphasisColor;
- fontColorHL = $TextMediumEmphasisColor;
- fontColorSEL = $TextMediumEmphasisColor;
- fontColorNA = $TextDisabledColor;
-
- fillColor = "22 22 22 255";
- fillColorHL = "22 22 22 255";
- fillColorSEL = "56 56 56 255";
-
- border = true;
- borderColor ="87 87 87";
- borderColorHL = "87 87 87";
- borderColorSEL = "255 255 255";
-
- category = "Core";
- canKeyFocus = true;
- };
- if( !isObject( GuiMenuTextEditProfile ) )
- new GuiControlProfile( GuiMenuTextEditProfile : GuiTextEditProfile )
- {
- fontColor = $TextMediumEmphasisColor;
- fontColorHL = $TextMediumEmphasisColor;
- fontColorSEL = $TextMediumEmphasisColor;
- fontColorNA = $TextDisabledColor;
-
- fillColor = "22 22 22 255";
- fillColorHL = "22 22 22 255";
-
- border = true;
- borderColor ="87 87 87";
- borderColorHL = "87 87 87";
- borderColorSEL = "255 255 255";
-
- category = "Core";
- };
- // ----------------------------------------------------------------------------
- // TODO: Revisit Popupmenu
- // ----------------------------------------------------------------------------
- if( !isObject( GuiPopupMenuItemBorder ) )
- new GuiControlProfile( GuiPopupMenuItemBorder : GuiButtonProfile )
- {
- opaque = true;
- border = true;
- fontColor = "0 0 0";
- fontColorHL = "0 0 0";
- fontColorNA = "255 255 255";
- fixedExtent = false;
- justify = "center";
- canKeyFocus = false;
- bitmap = "data/ui/images/button";
- category = "Core";
- };
- if( !isObject( GuiPopUpMenuDefault ) )
- new GuiControlProfile( GuiPopUpMenuDefault : GuiDefaultProfile )
- {
- opaque = true;
- mouseOverSelected = true;
- textOffset = "3 3";
- border = 0;
- borderThickness = 0;
- fixedExtent = true;
- bitmap = "data/ui/images/scrollBar";
- hasBitmapArray = true;
- profileForChildren = GuiPopupMenuItemBorder;
- fillColor = "242 241 240 ";//"255 255 255";//100
- fillColorHL = "228 228 235 ";//"204 203 202";
- fillColorSEL = "98 100 137 ";//"204 203 202";
- // font color is black
- fontColorHL = "0 0 0 ";//"0 0 0";
- fontColorSEL = "255 255 255";//"0 0 0";
- borderColor = "100 100 100";
- category = "Core";
- };
- if( !isObject( GuiPopUpMenuProfile ) )
- new GuiControlProfile( GuiPopUpMenuProfile : GuiPopUpMenuDefault )
- {
- textOffset = "6 4";
- bitmap = "data/ui/images/dropDown";
- hasBitmapArray = true;
- border = 1;
- profileForChildren = GuiPopUpMenuDefault;
- category = "Core";
- };
- if( !isObject( GuiTabBookProfile ) )
- new GuiControlProfile( GuiTabBookProfile )
- {
- fillColorHL = "100 100 100";
- fillColorNA = "150 150 150";
- fontColor = "30 30 30";
- fontColorHL = "0 0 0";
- fontColorNA = "50 50 50";
- fontType = "Arial";
- fontSize = 14;
- justify = "center";
- bitmap = "data/ui/images/tab";
- tabWidth = 64;
- tabHeight = 24;
- tabPosition = "Top";
- tabRotation = "Horizontal";
- textOffset = "0 -3";
- tab = true;
- cankeyfocus = true;
- category = "Core";
- };
- if( !isObject( GuiTabPageProfile ) )
- new GuiControlProfile( GuiTabPageProfile : GuiDefaultProfile )
- {
- fontType = "Arial";
- fontSize = 10;
- justify = "center";
- bitmap = "data/ui/images/tab";
- opaque = false;
- fillColor = "240 239 238";
- category = "Core";
- };
- if( !isObject( GuiConsoleProfile ) )
- new GuiControlProfile( GuiConsoleProfile )
- {
- fontType = ($platform $= "macos") ? "Monaco" : "Lucida Console";
- fontSize = ($platform $= "macos") ? 13 : 12;
- fontColor = "255 255 255";
- fontColorHL = "0 255 255";
- fontColorNA = "255 0 0";
- fontColors[6] = "100 100 100";
- fontColors[7] = "100 100 0";
- fontColors[8] = "0 0 100";
- fontColors[9] = "0 100 0";
- category = "Core";
- };
- if( !isObject( GuiConsoleTextProfile ) )
- new GuiControlProfile( GuiConsoleTextProfile )
- {
- fontColor = "0 0 0";
- autoSizeWidth = true;
- autoSizeHeight = true;
- textOffset = "2 2";
- opaque = true;
- fillColor = "255 255 255";
- border = true;
- borderThickness = 1;
- borderColor = "0 0 0";
- category = "Core";
- };
- $ConsoleDefaultFillColor = "0 0 0 175";
- if( !isObject( ConsoleScrollProfile ) )
- new GuiControlProfile( ConsoleScrollProfile : GuiScrollProfile )
- {
- opaque = true;
- fillColor = $ConsoleDefaultFillColor;
- border = 1;
- //borderThickness = 0;
- borderColor = "0 0 0";
- category = "Core";
- };
- if( !isObject( ConsoleTextEditProfile ) )
- new GuiControlProfile( ConsoleTextEditProfile : GuiTextEditProfile )
- {
- fillColor = "242 241 240 255";
- fillColorHL = "255 255 255";
- category = "Core";
- };
- //-----------------------------------------------------------------------------
- // Center and bottom print
- //-----------------------------------------------------------------------------
- if( !isObject( CenterPrintProfile ) )
- new GuiControlProfile ( CenterPrintProfile )
- {
- opaque = false;
- fillColor = "128 128 128";
- fontColor = "0 255 0";
- border = true;
- borderColor = "0 255 0";
- category = "Core";
- };
- if( !isObject( CenterPrintTextProfile ) )
- new GuiControlProfile ( CenterPrintTextProfile )
- {
- opaque = false;
- fontType = "Arial";
- fontSize = 12;
- fontColor = "0 255 0";
- category = "Core";
- };
- // ----------------------------------------------------------------------------
- // Radio button control
- // ----------------------------------------------------------------------------
- if( !isObject( GuiRadioProfile ) )
- new GuiControlProfile( GuiRadioProfile )
- {
- fontSize = 14;
- fillColor = "232 232 232";
- fontColor = "20 20 20";
- fontColorHL = "80 80 80";
- fixedExtent = true;
- bitmap = "data/ui/images/radioButton";
- hasBitmapArray = true;
- category = "Core";
- };
- //
- // Scroll Profile
- //
- if(!isObject(GuiMenuScrollProfile))
- new GuiControlProfile(GuiMenuScrollProfile)
- {
- opaque = false;
- fillcolor = "22 22 22";
- fontColor = "200 200 200";
- fontColorHL = "250 250 250";
- border = false;
- bitmap = "data/ui/images/scrollBar";
- hasBitmapArray = true;
- category = "Core";
- };
- // Scroll
- if(!isObject(GuiMenuScrollProfile))
- new GuiControlProfile(GuiMenuScrollProfile)
- {
- opaque = true;
- fillcolor = "128 128 128";
- fontColor = "0 0 0";
- fontColorHL = "150 150 150";
- border = true;
- bitmap = "data/ui/images/scrollBar";
- hasBitmapArray = true;
- category = "Core";
- };
- singleton GuiControlProfile(SliderBitmapGUIProfile)
- {
- bitmap = "data/ui/images/optionsMenuSliderBitmapArray.png";
- hasBitmapArray = true;
- opaque = false;
- };
|