Garry's Mod Wiki

DButton:UpdateColours

  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