Steam Skins

From Valve Developer Community
Jump to navigation Jump to search

The most important thing about skinning in the new Steam is the change of the skinning method. Instead of using TrackerScheme.res, steamscheme.res is now used. The steamscheme.res file can be found in winui.gcf. To retrieve your own copy of it, use GCFScape or VTFEdit. The steamscheme.res file is located in the Steam\cached folder in the GCF. It should be extracted to skins\YourSkinName\resource.

Scheme

BaseSettings

Key name Description

Borders

Border.Bright Lit side of a control
Border.Dark Dark/unlit side of a control
Border.Selection Additional border color for displaying the default/selected button

Check Button

CheckButton.BgColor
CheckButton.Border1 Left checkbutton border
CheckButton.Border2 Right checkbutton border
CheckButton.Check Color of the check itself

DragDrop

DragDrop.DragFrame
DragDrop.DropFrame

Frame

Frame.ClientInsetX Where to start the title bar (x)
Frame.ClientInsetY Where to start the title bar (y)
Frame.BgColor
Frame.OutOfFocusBgColor
Frame.FocusTransitionEffectTime Time for a window to fade on focus
Frame.TransitionEffectTime Time for a window to fade on open/close.
Frame.AutoSnapRange
Frame.UsesAlphaBlending
FrameSystemButton.Icon Top left corner icon
FrameSystemButton.DisabledIcon Top left corner disabled icon

ListPanel

ListPanel.TextColor
ListPanel.BgColor
ListPanel.SelectedTextColor
ListPanel.SelectedBgColor
ListPanel.SelectedOutOfFocusBgColor
ListPanel.DisabledTextColor
ListPanel.DisabledSelectedTextColor
ListPanel.EmptyListInfoTextColor
ListPanel.RowHeight
ListPanel.PerPixelScrolling

Menu

Menu.TextInset

Panel

Panel.FgColor
Panel.BgColor

PropertySheet

PropertySheet.TransitionEffectTime Time to change from one tab to another
PropertySheet.TabGap

RichText

RichText.TextColor
RichText.BgColor
RichText.SelectedTextColor
RichText.SelectedBgColor

ScrollBar

ScrollBar.Wide

SectionedListPanel

SectionedListPanel.CollapserWidth

TextEntry

TextEntry.CursorColor

GamesList

GamesList.InstalledAppColor
GamesList.NotInstalledAppColor
GamesList.ReadyStatusColor
GamesList.UpdatingStatusColor
GamesList.NotInstalledStatusColor

Controls

The Override Keys sections list all of the functioning KeyValues entries for a specific control. What Override Keys do is replace the Base Keys when a specific condition is met. Once the condition is destroyed, the control converts back to the Base Keys.

BaseControls

Button

Base Keys
Key name Description
textcolor
bgcolor
border Border must be defined as a subkey in the Borders KeyValues
Override Keys
Key name Description
mousedown
keyfocus
disabled
keyfocus_mouseover
defaultbutton
defaultbutton_mouseover