Garry's Mod Wiki

Revision Difference

PANEL:PaintOver#511081

<function name="PaintOver" parent="PANEL" type="hook">⤶ <ishook>yes</ishook>⤶ <description>Called whenever the panel and all its children were drawn, return true to override the default drawing.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="width" type="number">The panels current width.</arg>⤶ <arg name="height" type="number">The panels current height.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="boolean">Should we disable default PaintOver rendering? This is useful in case with Derma panels that use Derma hooks.</ret>⤶ </rets>⤶ </function>⤶ ⤶