Garry's Mod Wiki

PANEL:PaintOver

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.

Special Pages


Wikis

?

Render Time: 23ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 8