Initial commit
This commit is contained in:
18
lua/vgui/dexpandbutton.lua
Normal file
18
lua/vgui/dexpandbutton.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
local PANEL = {}
|
||||
|
||||
AccessorFunc( PANEL, "m_bExpanded", "Expanded", FORCE_BOOL )
|
||||
Derma_Hook( PANEL, "Paint", "Paint", "ExpandButton" )
|
||||
|
||||
function PANEL:Init()
|
||||
|
||||
self:SetSize( 15, 15 )
|
||||
self:SetText( "" )
|
||||
|
||||
end
|
||||
|
||||
-- No example for this control
|
||||
function PANEL:GenerateExample( class, tabs, w, h )
|
||||
end
|
||||
|
||||
derma.DefineControl( "DExpandButton", "", PANEL, "DButton" )
|
||||
Reference in New Issue
Block a user