Revision Difference
DLabel:SetHighlight#562053
<function name="SetHighlight" parent="DLabel" type="panelfunc">
<description>
<deprecated>You really should use <page>DLabel:SetTextColor</page>.</deprecated>⤶
⤶
Sets the color of the text to the highlight text color defined in the skin.⤶
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 <page>DLabel:SetBright</page> and <page>DLabel:SetDark</page>.
You should only consider using this if you are using background elements that are not manually painted and are using the skin colors.
⤶
Overrides colors set by both <page>DLabel:SetBright</page> and <page>DLabel:SetDark</page> while active.
You should only consider using this if you are using background elements that are not manually painted and are using the skin colors. Otherwise use <page>DLabel:SetTextColor</page>.
</description>
<realm>Client and Menu</realm>
<args>
<arg name="highlight" type="boolean">true to set the label's color to skins's text highlight color, false otherwise.</arg>
</args>
</function>