Garry's Mod Wiki

PANEL:PaintOver

  boolean PANEL:PaintOver( number width, number height )

Description

Called whenever the panel and all its children were drawn, return true to override the default drawing.

Arguments

1 number width
The panels current width.
2 number height
The panels current height.

Returns

1 boolean
Should we disable default PaintOver rendering? This is useful in case with Derma panels that use Derma hooks.