Garry's Mod Wiki

Garry's Mod Wiki

  DButton:UpdateColours( table skin )

Description

A hook called from within DLabel's PANEL:ApplySchemeSettings to determine the color of the text on display.

Arguments

1 table skin
A table supposed to contain the color values listed above.
Condition Value
skin.Colours.Button.Disabled
self.Depressed skin.Colours.Button.Down
self.m_bSelected skin.Colours.Button.Down
self.Hovered skin.Colours.Button.Hover

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...