Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 31ms

DB GetPage 4
Generate Html 1
SaveChanges (1) 11
Render Body 0
Render Sidebar 12