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

Page Links


Special Pages


Wikis

?

Render Time: 62ms

DB GetPage 37
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 12