Garry's Mod Wiki

Revision Difference

DColorPalette:DoClick#554037

<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 and Menu</realm> <args> <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>