Garry's Mod Wiki

Revision Difference

Panel:SetTextSelectionColors#549453

<function name="SetTextSelectionColors" parent="Panel" type="classfunc"> <description>Sets text selection colors of a <page>RichText</page> element.</description> <realm>Client</realm> <added>2023.01.25</added> <args> <arg name="color" type="table">The <page>Global.Color</page> to set for selected text.</arg> <arg name="color" type="table">The <page>Global.Color</page> to set for selected text background.</arg> <arg name="textColor" type="table">The <page>Global.Color</page> to set for selected text.</arg> <arg name="backgroundColor" type="table">The <page>Global.Color</page> to set for selected text background.</arg> </args> </function>