From Garry's Mod
Jump to: navigation, search
 DLabel:SetHighlight( )


This feature is deprecated.
You should avoid using it as it may be removed in a future version.

You really should use DLabel:SetTextColor.

Sets the color of the text to the highlight text color defined in the skin.

For the default Derma skin this makes the label red.

See also DLabel:SetBright and DLabel:SetDark.

You should only consider using this if you are using background elements that are not manually painted and are using the skin colors.


boolean highlight

true to set the label's color to skins's text highlight color, false otherwise.
Personal tools