Garry's Mod Wiki

Revision Difference

DLabel:UpdateColours#513732

<function name="UpdateColours" parent="DLabel" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <file line="289-279">lua/vgui/dlabel.lua</file>⤶ <description>A hook called from within <page>DLabel:ApplySchemeSettings</page> to determine the color of the text on display.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="skin" type="table">A table supposed to contain the color values listed above.</arg>⤶ </args>⤶ </function>⤶ ⤶ Condition | Value |⤶ ----------|-------|⤶ | self.m_bBright | skin.Colours.Label.Bright |⤶ | self.m_bDark | skin.Colours.Label.Dark |⤶ | self.m_bHighlight | skin.Colours.Label.Highlight |