Garry's Mod Wiki

Garry's Mod Wiki

  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.

This is useful to draw content over the panel without having to overwrite it's PANEL:Paint hook, for example as an indicator that a panel is selected in PropSelect

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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...