Garry's Mod Wiki

Panel:DrawSelections

Panel:DrawSelections

  Panel:DrawSelections()

Description

Used to draw the magenta highlight colour of a panel object when it is selected. This should be called in the object's PANEL:PaintOver hook. Once this is implemented, the highlight colour will be displayed only when the object is selectable and selected. This is achieved using Panel:SetSelectable and Panel:SetSelected respectively.

Special Pages


Wikis

?

Render Time: 21ms

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