From e95e0822a5bf22e357058a95ec15d5501084b6fc Mon Sep 17 00:00:00 2001 From: Wizzard Date: Tue, 23 Jan 2024 05:40:02 -0500 Subject: [PATCH] Add default HL ClientScheme.res --- resource/ClientScheme.res | 911 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 911 insertions(+) create mode 100755 resource/ClientScheme.res diff --git a/resource/ClientScheme.res b/resource/ClientScheme.res new file mode 100755 index 0000000..e85f30b --- /dev/null +++ b/resource/ClientScheme.res @@ -0,0 +1,911 @@ +// +// TRACKER SCHEME RESOURCE FILE +// +// sections: +// colors - all the colors used by the scheme +// basesettings - contains settings for app to use to draw controls +// fonts - list of all the fonts used by app +// borders - description of all the borders +// +// notes: +// hit ctrl-alt-shift-R in the app to reload this file +// +Scheme +{ + //Name - currently overriden in code + //{ + // "Name" "ClientScheme" + //} + + //////////////////////// COLORS /////////////////////////// + Colors + { + // base colors + "BaseText" "216 222 211 255" // used in text windows, lists + "BrightBaseText" "255 255 255 255" // brightest text + "SelectedText" "255 255 255 255" // selected text + "DimBaseText" "160 170 149 255" // dim base text + "LabelDimText" "160 170 149 255" // used for info text + "ControlText" "216 222 211 255" // used in all text controls + "BrightControlText" "196 181 80 255" // use for selected controls + "DisabledText1" "117 128 111 255" // disabled text + "DisabledText2" "40 46 34 255" // overlay color for disabled text (to give that inset look) + "DimListText" "117 134 102 255" // offline friends, unsubscribed games, etc. + + // background colors + "ControlBG" "90 106 80 124" // background color of controls + "ControlDarkBG" "90 106 80 124" // darker background color; used for background of scrollbars + "WindowBG" "0 0 0 124" // background color of text edit panes (chat, text entries, etc.) + "SelectionBG" "149 136 49 124" // background color of any selected text or menu item + "SelectionBG2" "40 46 34 124" // selection background in window w/o focus + "ListBG" "62 70 55 124" // background of server browser, buddy list, etc. + + // titlebar colors + "TitleText" "255 255 255 124" + "TitleDimText" "255 0 0 124" + "TitleBG" "255 0 0 124" + "TitleDimBG" "255 0 0 124" + + // slider tick colors + "SliderTickColor" "127 140 127 255" + "SliderTrackColor" "31 31 31 255" + + // border colors + "BorderBright" "0 255 0 255" // the lit side of a control + "BorderDark" "0 255 0 255" // the dark/unlit side of a control + "BorderSelection" "0 255 0 255" // the additional border color for displaying the default/selected button + + "team0" "125 165 210" + "team1" "200 90 70" + "team2" "225 205 45" + "team3" "145 215 140" + "team4" "255 170 0" + } + + ///////////////////// BASE SETTINGS //////////////////////// + // default settings for all panels + // controls use these to determine their settings + BaseSettings + { + "FgColor" "ControlText" + "BgColor" "ControlBG" + "LabelBgColor" "ControlBG" + "SubPanelBgColor" "ControlBG" + + "DisabledFgColor1" "DisabledText1" + "DisabledFgColor2" "DisabledText2" // set this to the BgColor if you don't want it to draw + + "TitleBarFgColor" "TitleText" + "TitleBarDisabledFgColor" "TitleDimText" + "TitleBarBgColor" "TitleBG" + "TitleBarDisabledBgColor" "TitleDimBG" + + "TitleBarIcon" "resource/icon_steam" + "TitleBarDisabledIcon" "resource/icon_steam_disabled" + + "TitleButtonFgColor" "BorderBright" + "TitleButtonBgColor" "ControlBG" + "TitleButtonDisabledFgColor" "TitleDimText" + "TitleButtonDisabledBgColor" "TitleDimBG" + + "TextCursorColor" "BaseText" // color of the blinking text cursor in text entries + "URLTextColor" "BrightBaseText" // color that URL's show up in chat window + + Menu + { + "FgColor" "DimBaseText" + "BgColor" "ControlBG" + "ArmedFgColor" "BrightBaseText" + "ArmedBgColor" "SelectionBG" + "DividerColor" "BorderDark" + + "TextInset" "6" + } + + MenuButton // the little arrow on the side of boxes that triggers drop down menus + { + "ButtonArrowColor" "DimBaseText" // color of arrows + "ButtonBgColor" "WindowBG" // bg color of button. same as background color of text edit panes + "ArmedArrowColor" "BrightBaseText" // color of arrow when mouse is over button + "ArmedBgColor" "DimBaseText" // bg color of button when mouse is over button + } + + Slider + { + "SliderFgColor" "ControlBG" // handle with which the slider is grabbed + "SliderBgColor" "ControlDarkBG" // area behind handle + } + + ScrollBarSlider + { + "BgColor" "ControlBG" // this isn't really used + "ScrollBarSliderFgColor" "ControlBG" // handle with which the slider is grabbed + "ScrollBarSliderBgColor" "ControlDarkBG" // area behind handle + "ButtonFgColor" "DimBaseText" // color of arrows + } + + + // text edit windows + "WindowFgColor" "BaseText" // off-white + "WindowBgColor" "WindowBG" // redundant. can we get rid of WindowBgColor and just use WindowBG? + "WindowDisabledFgColor" "DimBaseText" + "WindowDisabledBgColor" "ListBG" // background of chat conversation + "SelectionFgColor" "SelectedText" // fg color of selected text + "SelectionBgColor" "SelectionBG" + "ListSelectionFgColor" "SelectedText" + "ListBgColor" "ListBG" // background of server browser control, etc + "BuddyListBgColor" "ListBG" // background of buddy list pane + + // App-specific stuff + "ChatBgColor" "WindowBG" + + // status selection + "StatusSelectFgColor" "BrightBaseText" + "StatusSelectFgColor2" "BrightControlText" // this is the color of the friends status + + // checkboxes + "CheckButtonBorder1" "BorderDark" // the left checkbutton border + "CheckButtonBorder2" "BorderBright" // the right checkbutton border + "CheckButtonCheck" "BrightControlText" // color of the check itself + "CheckBgColor" "ListBG" + + // buttons (default fg/bg colors are used if these are not set) +// "ButtonArmedFgColor" + "ButtonArmedBgColor" "SelectionBG" +// "ButtonDepressedFgColor" "BrightControlText" +// "ButtonDepressedBgColor" + + // buddy buttons + BuddyButton + { + "FgColor1" "ControlText" + "FgColor2" "DimListText" + "ArmedFgColor1" "BrightBaseText" + "ArmedFgColor2" "BrightBaseText" + "ArmedBgColor" "SelectionBG" + } + + Chat + { + "TextColor" "BrightControlText" + "SelfTextColor" "BaseText" + "SeperatorTextColor" "DimBaseText" + } + + "SectionTextColor" "BrightControlText" // text color for IN-GAME, ONLINE, OFFLINE sections of buddy list + "SectionDividerColor" "BorderDark" // color of line that runs under section name in buddy list + } + + // + //////////////////////// FONTS ///////////////////////////// + // + // describes all the fonts + Fonts + { + // fonts are used in order that they are listed + // fonts listed later in the order will only be used if they fulfill a range not already filled + // if a font fails to load then the subsequent fonts will replace + "Default" + { + "1" + { + "name" "Tahoma" + "tall" "16" + "weight" "500" + } + } + "DefaultBold" + { + "1" + { + "name" "Tahoma" + "tall" "16" + "weight" "1000" + } + } + "DefaultUnderline" + { + "1" + { + "name" "Tahoma" + "tall" "16" + "weight" "500" + "underline" "1" + } + } + "DefaultSmall" + { + "1" + { + "name" "Tahoma" + "tall" "13" + "weight" "0" + } + } + "DefaultVerySmall" + { + "1" + { + "name" "Tahoma" + "tall" "12" + "weight" "0" + } + } + + // this is the symbol font + "Marlett" + { + "1" + { + "name" "Marlett" + "tall" "14" + "weight" "0" + "symbol" "1" + } + } + } + + // + //////////////////// BORDERS ////////////////////////////// + // + // describes all the border types + Borders + { + BaseBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "BorderDark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderBright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + } + + TitleButtonBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "BorderBright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderDark" + "offset" "1 0" + } + } + + Top + { + "4" + { + "color" "BorderBright" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + } + + TitleButtonDisabledBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "BgColor" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BgColor" + "offset" "1 0" + } + } + Top + { + "1" + { + "color" "BgColor" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BgColor" + "offset" "0 0" + } + } + } + + TitleButtonDepressedBorder + { + "inset" "1 1 1 1" + Left + { + "1" + { + "color" "BorderDark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderBright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + } + + ScrollBarButtonBorder + { + "inset" "1 0 0 0" + Left + { + "1" + { + "color" "BorderBright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderDark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + } + + ScrollBarButtonDepressedBorder + { + "inset" "2 2 0 0" + Left + { + "1" + { + "color" "BorderDark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderBright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + } + + ButtonBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "BorderBright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + + Top + { + "1" + { + "color" "BorderBright" + "offset" "0 1" + } + } + + Bottom + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + } + + FrameBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "BorderBright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + + Top + { + "1" + { + "color" "BorderBright" + "offset" "0 1" + } + } + + Bottom + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + } + + TabBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "BorderBright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderDark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + } + + TabActiveBorder + { + "inset" "0 0 1 0" + Left + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + + Right + { + "1" + { + "color" "BorderDark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "ControlBG" + "offset" "6 2" + } + } + } + + + ToolTipBorder + { + "inset" "0 0 1 0" + Left + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + + Right + { + "1" + { + "color" "BorderDark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + } + + // this is the border used for default buttons (the button that gets pressed when you hit enter) + ButtonKeyFocusBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "BorderSelection" + "offset" "0 0" + } + "2" + { + "color" "BorderBright" + "offset" "0 1" + } + } + Top + { + "1" + { + "color" "BorderSelection" + "offset" "0 0" + } + "2" + { + "color" "BorderBright" + "offset" "1 0" + } + } + Right + { + "1" + { + "color" "BorderSelection" + "offset" "0 0" + } + "2" + { + "color" "BorderDark" + "offset" "1 0" + } + } + Bottom + { + "1" + { + "color" "BorderSelection" + "offset" "0 0" + } + "2" + { + "color" "BorderDark" + "offset" "1 1" + } + } + } + + ButtonDepressedBorder + { + "inset" "2 1 1 1" + Left + { + "1" + { + "color" "BorderDark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderBright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + } + + ComboBoxBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "BorderDark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderBright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + } + + MenuBorder + { + "inset" "1 1 1 1" + Left + { + "1" + { + "color" "BorderBright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderDark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + } + BrowserBorder + { + "inset" "0 0 0 1" + Left + { + "1" + { + "color" "BorderDark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + + Top + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + } + } +} \ No newline at end of file