Garry's Mod Wiki

Revision Difference

DLabel:SetHighlight#513738

<function name="SetHighlight" parent="DLabel" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <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.⤶ ⤶ 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.⤶ </description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="highlight" type="boolean">true to set the label&#x27;s color to skins&#x27;s text highlight color, false otherwise.</arg>⤶ </args>⤶ </function>⤶ ⤶