Garry's Mod Wiki

Revision Difference

DLabel:SetDark#513742

<function name="SetDark" 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 dark text color defined in the skin.⤶ ⤶ See also <page>DLabel:SetBright</page> and <page>DLabel:SetHighlight</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="dark" type="boolean">Whenever to set the text to dark or not.</arg>⤶ </args>⤶ </function>⤶ ⤶