DButton/UpdateColours

From Garry's Mod
Jump to: navigation, search
 DButton:UpdateColours( )

DescriptionPanelFunc

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

Condition Value
Default skin.Colours.Button.Normal
self:GetDisabled() skin.Colours.Button.Disabled
self.Depressed skin.Colours.Button.Down
self.m_bSelected skin.Colours.Button.Down
self.Hovered skin.Colours.Button.Hover

Arguments

table skin

A table supposed to contain the color values listed above.
Personal tools
Navigation