Steam Skins: Difference between revisions
Jump to navigation
Jump to search
m (→BaseControls) |
m (→Base Keys) |
||
Line 157: | Line 157: | ||
|- | |- | ||
| textcolor || | | textcolor || | ||
|- | |||
| shadowtextcolor || | |||
|- | |- | ||
| bgcolor || | | bgcolor || |
Revision as of 22:32, 3 February 2006
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 is located in the resource
folder in the Steam root folder. It should be copied to skins\YourSkinName\resource
. Like everything else, images are uncompressed 24-bit TGA files.
The following is documentation on the structure of sourcescheme.res
.
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 |
CheckButton | |
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 | |
FrameTitleBar.Font | |
FrameTitleBar.SmallFont | |
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.InsetX | Margin (x) |
RichText.InsetY | Margin (y) |
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
Panel
Base Keys
Key name | Description |
---|---|
textcolor | |
shadowtextcolor | |
bgcolor | |
border | Border must be defined as a subkey in the Borders KeyValues |
image | TGA image to be drawn on this control |
Button
Override Keys
Key name | Description |
---|---|
mousedown | |
keyfocus | |
disabled | |
keyfocus_mouseover | |
defaultbutton | |
defaultbutton_mouseover |
GripPanel
CheckButton
Override Keys
Key name | Description |
---|---|
mousedown | |
selected | |
selected_mouseover | |
selected_mousedown | |
selected_keyfocus | |
selected_keyfocus_mouseover | |
keyfocus | |
keyfocus_mouseover | |
disabled | |
selected_disabled |