fortressforever-scripts/resource/SourceScheme.res

1008 lines
17 KiB
Text
Raw Normal View History

2014-11-12 02:32:26 +00:00
///////////////////////////////////////////////////////////
// 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
//
///////////////////////////////////////////////////////////
Scheme
{
//////////////////////// COLORS ///////////////////////////
// color details
// this is a list of all the colors used by the scheme
Colors
{
// base colors
"White" "255 255 255 255"
"OffWhite" "216 216 216 255"
"DullWhite" "142 142 142 255"
"Orange" "255 155 0 255"
"TransparentBlack" "0 0 0 128"
"Black" "0 0 0 255"
"Blank" "0 0 0 0"
// custom colors
"HUD_Tone_Bright" "225 235 255 255"
"HUD_Tone_Default" "199 219 255 255"
"HUD_Tone_Dim" "199 219 255 120"
"HUD_BG_Bright" "109 124 142 185"
"HUD_BG_Default" "109 124 142 115"
"HUD_BG_Dim" "109 124 142 50"
/////////////// VGUI Colours ///////////////
"UI_Tone_Default" "199 219 255 255"
"UI_Tone_Dim" "109 124 142 115"
"UI_Tone_Dark" "75 85 95 115"
"UI_BG_Highlight" "225 235 255 45"
"UI_BG_Dim" "100 110 128 165"
"UI_BG_Dark" "0 0 0 90"
"UI_Text_Default" "199 219 255 255"
}
///////////////////// BASE SETTINGS ////////////////////////
//
// default settings for all panels
// controls use these to determine their settings
BaseSettings
{
// vgui_controls color specifications
Border.Bright "UI_BG_Highlight" // the lit side of a control
Border.Dark "UI_BG_Highlight" // the dark/unlit side of a control
Border.Selection "White" // the additional border color for displaying the default/selected button
Button.TextColor "UI_Tone_Default"
Button.BgColor "Blank"
Button.ArmedTextColor "UI_Tone_Default"
Button.ArmedBgColor "UI_BG_Highlight"
Button.DepressedTextColor "UI_Tone_Default"
Button.DepressedBgColor "UI_BG_Highlight"
CheckButton.TextColor "UI_Tone_Default"
CheckButton.SelectedTextColor "White"
CheckButton.BgColor "TransparentBlack"
CheckButton.Border1 "Border.Dark" // the left checkbutton border
CheckButton.Border2 "Border.Bright" // the right checkbutton border
CheckButton.Check "White" // color of the check itself
ComboBoxButton.ArrowColor "DullWhite"
ComboBoxButton.ArmedArrowColor "White"
ComboBoxButton.BgColor "Blank"
ComboBoxButton.DisabledBgColor "Blank"
Frame.TitleTextInsetX 16
Frame.ClientInsetX 8
Frame.ClientInsetY 6
Frame.BgColor "UI_Tone_Dim" // main menu box color
Frame.OutOfFocusBgColor "UI_BG_Dim"
Frame.FocusTransitionEffectTime "0.3" // time it takes for a window to fade in/out on focus/out of focus
Frame.TransitionEffectTime "0.3" // time it takes for a window to fade in/out on open/close
Frame.AutoSnapRange "0"
FrameGrip.Color1 "UI_BG_Highlight"
FrameGrip.Color2 "UI_BG_Dim"
FrameTitleButton.FgColor "200 200 200 196"
FrameTitleButton.BgColor "Blank"
FrameTitleButton.DisabledFgColor "255 255 255 192"
FrameTitleButton.DisabledBgColor "Blank"
FrameSystemButton.FgColor "Blank"
FrameSystemButton.BgColor "Blank"
FrameSystemButton.Icon ""
FrameSystemButton.DisabledIcon ""
FrameTitleBar.Font "UiBold"
FrameTitleBar.TextColor "UI_Tone_Default"
FrameTitleBar.BgColor "Blank"
FrameTitleBar.DisabledTextColor "UI_Tone_Dim"
FrameTitleBar.DisabledBgColor "Blank"
GraphPanel.FgColor "White"
GraphPanel.BgColor "TransparentBlack"
Label.TextDullColor "DullWhite"
Label.TextColor "UI_Tone_Default"
Label.TextBrightColor "UI_Tone_Default"
Label.SelectedTextColor "White"
Label.BgColor "Blank"
Label.DisabledFgColor1 "117 117 117 255"
Label.DisabledFgColor2 "30 30 30 255"
ListPanel.TextColor "UI_Tone_Default"
ListPanel.TextBgColor "Blank"
ListPanel.BgColor "TransparentBlack"
ListPanel.SelectedTextColor "Black"
ListPanel.SelectedBgColor "128 128 128 196" //ui_tone_default
ListPanel.SelectedOutOfFocusBgColor "255 155 0 128"
ListPanel.EmptyListInfoTextColor "OffWhite"
Menu.TextColor "UI_Tone_Default"
Menu.BgColor "UI_BG_Dim"
Menu.ArmedTextColor "UI_Tone_Default"
Menu.ArmedBgColor "UI_BG_Highlight"
Menu.TextInset "6"
Panel.FgColor "DullWhite"
Panel.BgColor "Blank"
ProgressBar.FgColor "White"
ProgressBar.BgColor "TransparentBlack"
PropertySheet.TextColor "UI_Tone_default"
PropertySheet.SelectedTextColor "White"
PropertySheet.TransitionEffectTime "0.25" // time to change from one tab to another
RadioButton.TextColor "UI_Tone_Default"
RadioButton.SelectedTextColor "White"
RichText.TextColor "UI_Tone_Default"
RichText.BgColor "TransparentBlack"
RichText.SelectedTextColor "Black"
RichText.SelectedBgColor "UI_Tone_Default"
ScrollBar.Wide 17
ScrollBarButton.FgColor "UI_Tone_Default"
ScrollBarButton.BgColor "Blank"
ScrollBarButton.ArmedFgColor "UI_Tone_Default"
ScrollBarButton.ArmedBgColor "Blank"
ScrollBarButton.DepressedFgColor "UI_Tone_Default"
ScrollBarButton.DepressedBgColor "Blank"
ScrollBarSlider.FgColor "Blank" // nob color
ScrollBarSlider.BgColor "255 255 255 64" // slider background color
SectionedListPanel.HeaderTextColor "UI_Tone_Default"
SectionedListPanel.HeaderBgColor "Blank"
SectionedListPanel.DividerColor "Black"
SectionedListPanel.TextColor "UI_Tone_Default"
SectionedListPanel.BrightTextColor "White"
SectionedListPanel.BgColor "TransparentBlack"
SectionedListPanel.SelectedTextColor "Black"
SectionedListPanel.SelectedBgColor "UI_Tone_Default"
SectionedListPanel.OutOfFocusSelectedTextColor "Black"
SectionedListPanel.OutOfFocusSelectedBgColor "255 155 0 128"
Slider.NobColor "108 108 108 255"
Slider.TextColor "180 180 180 255"
Slider.TrackColor "31 31 31 255"
Slider.DisabledTextColor1 "117 117 117 255"
Slider.DisabledTextColor2 "30 30 30 255"
TextEntry.TextColor "UI_Tone_Default"
TextEntry.BgColor "TransparentBlack"
TextEntry.CursorColor "OffWhite"
TextEntry.DisabledTextColor "DullWhite"
TextEntry.DisabledBgColor "Blank"
TextEntry.SelectedTextColor "Black"
TextEntry.SelectedBgColor "White"
TextEntry.OutOfFocusSelectedBgColor "255 155 0 128"
TextEntry.FocusEdgeColor "0 0 0 196"
ToggleButton.SelectedTextColor "White"
Tooltip.TextColor "0 0 0 196"
Tooltip.BgColor "UI_Tone_Default"
TreeView.BgColor "TransparentBlack"
WizardSubPanel.BgColor "Blank"
// scheme-specific colors
MainMenu.TextColor "UI_Tone_Default"
MainMenu.ArmedTextColor "White"
MainMenu.DepressedTextColor "192 186 80 255"
MainMenu.MenuItemHeight "30" // spacing between resume game etc -why doesn't this scale at higher res..fu valve you're retarded
MainMenu.Inset "32"
MainMenu.Backdrop "0 0 0 156"
Console.TextColor "OffWhite"
Console.DevTextColor "White"
NewGame.TextColor "White"
NewGame.FillColor "0 0 0 255"
NewGame.SelectionColor "UI_Tone_Default" //ui tone default
NewGame.DisabledColor "128 128 128 196"
}
//
//////////////////////// 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
// fonts are used in order that they are listed
"DebugFixed"
{
"1"
{
"name" "Courier New"
"tall" "10"
"weight" "500"
"antialias" "1"
}
}
// fonts are used in order that they are listed
"DebugFixedSmall"
{
"1"
{
"name" "Courier New"
"tall" "7"
"weight" "500"
"antialias" "1"
}
}
"DefaultFixedOutline"
{
"1"
{
"name" "Lucida Console"
"tall" "10"
"weight" "0"
"outline" "1"
}
}
"Default" //join menu option/ window text and button text
{
"1"
{
"name" "FortressForever - HUD Font"
"tall" "14"
"antialias" "1"
"custom" "1"
}
}
"DefaultBold" //doesn't appear to be used
{
"1"
{
"name" "Tahoma"
"custom" "1"
"tall" "16"
"weight" "500"
}
}
"DefaultUnderline"
{
"1"
{
"name" "Tahoma"
"tall" "16"
"weight" "500"
"underline" "1"
}
}
"DefaultSmall" // doesn't appear to be used
{
"1"
{
"name" "Verdana"
"custom" "1"
"tall" "12"
"weight" "0"
}
}
"DefaultSmallDropShadow"
{
"1"
{
"name" "Verdana"
"custom" "1"
"tall" "13"
"weight" "0"
"dropshadow" "1"
}
}
"DefaultVerySmall" // header text on keyboard bindings screen
{
"1"
{
"name" "Tahoma"
"custom" "1"
"tall" "14"
"weight" "0"
}
}
"DefaultLarge" // doesn't appear to be used
{
"1"
{
"name" "Verdana"
"custom" "1"
"tall" "18"
"weight" "0"
}
}
"UiBold" // top left of options screen etc
{
"1"
{
"name" "FortressForever - HUD Font"
"custom" "1"
"tall" "16"
"weight" "500"
"antialias" "1"
}
}
"MenuLarge" // Resume game, find servers etc
{
"1"
{
"name" "FortressForever - HUD Font"
"custom" "1"
"tall" "16"
"weight" "500"
"antialias" "1"
"yres" "1 599"
}
"2"
{
"name" "FortressForever - HUD Font"
"custom" "1"
"tall" "18"
"weight" "500"
"antialias" "1"
"yres" "600 767"
}
"3"
{
"name" "FortressForever - HUD Font"
"custom" "1"
"tall" "22"
"weight" "500"
"antialias" "1"
"yres" "768 1023"
}
"4"
{
"name" "FortressForever - HUD Font"
"custom" "1"
"tall" "24"
"weight" "600"
"antialias" "1"
"yres" "1024 1199"
}
"5"
{
"name" "FortressForever - HUD Font"
"custom" "1"
"tall" "32"
"weight" "600"
"antialias" "1"
"yres" "1200 10000"
}
}
"ConsoleText"
{
"1"
{
"name" "Lucida Console"
"tall" "10"
"weight" "500"
}
}
// this is the symbol font
"Marlett"
{
"1"
{
"name" "Marlett"
"tall" "14"
"weight" "0"
"symbol" "1"
}
}
"Trebuchet24"
{
"1"
{
"name" "Trebuchet MS"
"tall" "24"
"weight" "900"
"dropshadow" "1"
}
}
"Trebuchet20"
{
"1"
{
"name" "Trebuchet MS"
"tall" "20"
"weight" "900"
}
}
"Trebuchet18"
{
"1"
{
"name" "Trebuchet MS"
"tall" "18"
"weight" "900"
}
}
// HUD numbers
// We use multiple fonts to 'pulse' them in the HUD, hence the need for many of near size
"HUDNumber"
{
"1"
{
"name" "Trebuchet MS"
"tall" "40"
"weight" "900"
}
}
"HUDNumber1"
{
"1"
{
"name" "Trebuchet MS"
"tall" "41"
"weight" "900"
}
}
"HUDNumber2"
{
"1"
{
"name" "Trebuchet MS"
"tall" "42"
"weight" "900"
}
}
"HUDNumber3"
{
"1"
{
"name" "Trebuchet MS"
"tall" "43"
"weight" "900"
}
}
"HUDNumber4"
{
"1"
{
"name" "Trebuchet MS"
"tall" "44"
"weight" "900"
}
}
"HUDNumber5"
{
"1"
{
"name" "Trebuchet MS"
"tall" "45"
"weight" "900"
}
}
"DefaultFixed"
{
"1"
{
"name" "Lucida Console"
"tall" "10"
"weight" "0"
}
// "1"
// {
// "name" "FixedSys"
// "tall" "20"
// "weight" "0"
// }
}
"DefaultFixedDropShadow"
{
"1"
{
"name" "Lucida Console"
"tall" "10"
"weight" "0"
"dropshadow" "1"
}
// "1"
// {
// "name" "FixedSys"
// "tall" "20"
// "weight" "0"
// }
}
"CloseCaption_Normal"
{
"1"
{
"name" "Tahoma"
"tall" "16"
"weight" "500"
"dropshadow" "1"
}
}
"CloseCaption_Italic"
{
"1"
{
"name" "Tahoma"
"tall" "16"
"weight" "500"
"italic" "1"
"dropshadow" "1"
}
}
"CloseCaption_Bold"
{
"1"
{
"name" "Tahoma"
"tall" "16"
"weight" "900"
"dropshadow" "1"
}
}
"CloseCaption_BoldItalic"
{
"1"
{
"name" "Tahoma"
"tall" "16"
"weight" "900"
"italic" "1"
"dropshadow" "1"
}
}
TitleFont // don't think its used
{
"1"
{
"name" "HalfLife2"
"tall" "72"
"weight" "400"
"antialias" "1"
"custom" "1"
}
}
TitleFont2 // don't think its used
{
"1"
{
"name" "HalfLife2"
"tall" "120"
"weight" "400"
"antialias" "1"
"custom" "1"
}
}
}
//
//////////////////// BORDERS //////////////////////////////
//
// describes all the border types
Borders
{
BaseBorder DepressedBorder
ButtonBorder RaisedBorder
ComboBoxBorder DepressedBorder
MenuBorder RaisedBorder
BrowserBorder DepressedBorder
PropertySheetBorder RaisedBorder
FrameBorder
{
// rounded corners for frames
"backgroundtype" "3" // Phish- original 2
}
DepressedBorder
{
"inset" "0 0 1 1"
Left
{
"1"
{
"color" "Border.Dark"
"offset" "0 1"
}
}
Right
{
"1"
{
"color" "Border.Bright"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "Border.Dark"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "Border.Bright"
"offset" "0 0"
}
}
}
RaisedBorder
{
"inset" "0 0 1 1"
Left
{
"1"
{
"color" "Border.Bright"
"offset" "0 1"
}
}
Right
{
"1"
{
"color" "Border.Dark"
"offset" "0 0"
}
}
Top
{
"1"
{
"color" "Border.Bright"
"offset" "0 1"
}
}
Bottom
{
"1"
{
"color" "Border.Dark"
"offset" "0 0"
}
}
}
TitleButtonBorder
{
"backgroundtype" "0" // dont think it shows if splash image used
}
TitleButtonDisabledBorder
{
"backgroundtype" "0"
}
TitleButtonDepressedBorder
{
"backgroundtype" "0"
}
ScrollBarButtonBorder
{
"inset" "2 2 0 0"
Left
{
"1"
{
"color" "Border.Bright"
"offset" "0 1"
}
}
Right
{
"1"
{
"color" "Border.Dark"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "Border.Bright"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "Border.Dark"
"offset" "0 0"
}
}
}
ScrollBarButtonDepressedBorder
{
"inset" "2 2 0 0"
Left
{
"1"
{
"color" "Border.Dark"
"offset" "0 1"
}
}
Right
{
"1"
{
"color" "Border.Bright"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "Border.Dark"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "Border.Bright"
"offset" "0 0"
}
}
}
TabBorder
{
"inset" "0 0 1 1"
Left
{
"1"
{
"color" "Border.Bright"
"offset" "0 1"
}
}
Right
{
"1"
{
"color" "Border.Dark"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "Border.Bright"
"offset" "0 0"
}
}
}
TabActiveBorder
{
"inset" "0 0 1 0"
Left
{
"1"
{
"color" "Border.Bright"
"offset" "0 0"
}
}
Right
{
"1"
{
"color" "Border.Dark"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "Border.Bright"
"offset" "0 0"
}
}
}
ToolTipBorder
{
"inset" "0 0 1 0"
Left
{
"1"
{
"color" "Border.Dark"
"offset" "0 0"
}
}
Right
{
"1"
{
"color" "Border.Dark"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "Border.Dark"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "Border.Dark"
"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" "Border.Selection"
"offset" "0 0"
}
"2"
{
"color" "Border.Bright"
"offset" "0 1"
}
}
Top
{
"1"
{
"color" "Border.Selection"
"offset" "0 0"
}
"2"
{
"color" "Border.Bright"
"offset" "1 0"
}
}
Right
{
"1"
{
"color" "Border.Selection"
"offset" "0 0"
}
"2"
{
"color" "Border.Dark"
"offset" "1 0"
}
}
Bottom
{
"1"
{
"color" "Border.Selection"
"offset" "0 0"
}
"2"
{
"color" "Border.Dark"
"offset" "0 0"
}
}
}
ButtonDepressedBorder
{
"inset" "2 1 1 1"
Left
{
"1"
{
"color" "Border.Dark"
"offset" "0 1"
}
}
Right
{
"1"
{
"color" "Border.Bright"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "Border.Dark"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "Border.Bright"
"offset" "0 0"
}
}
}
}
//////////////////////// CUSTOM FONT FILES /////////////////////////////
//
// specifies all the custom (non-system) font files that need to be loaded to service the above described fonts
CustomFontFiles
{
"1" "resource/HALFLIFE2.ttf"
"2" "resource/HUDfont.ttf"
}
}