Garry's Mod Wiki

Revision Difference

DColorPalette:DoClick#518122

<function name="DoClick" parent="DColorPalette" type="panelfunc"> <ispanel>yes</ispanel> <description> <deprecated></deprecated> Basically the same functionality as <page>DColorPalette:OnValueChanged</page>, you should use that instead! </description> <realm>Client</realm> <args> <arg name="clr" type="table">The new color via the &lt;page&gt;Color&lt;/page&gt;</arg>⤶ <arg name="btn" type="Panel">The &lt;page&gt;DColorButton&lt;/page&gt; that was pressed.</arg> <arg name="clr" type="table">The new color via the <page>Color</page></arg>⤶ <arg name="btn" type="Panel">The <page>DColorButton</page> that was pressed.</arg> </args> </function>