Garry's Mod Wiki

DButton:UpdateColours

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

Special Pages


Wikis

?

Render Time: 18ms

DB GetPage 1
Generate Html 2
SaveChanges (1) 6
Render Body 0
Render Sidebar 6