Garry's Mod Wiki

Revision Difference

DLabel:SetBright#550309

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