local PANEL = {}
/*---------------------------------------------------------
Name: Init
---------------------------------------------------------*/
function PANEL:Init()
self.AutoSize = true
end
/*---------------------------------------------------------
Name: Paint
---------------------------------------------------------*/
function PANEL:Paint()
if (!self.
Material) then return true end
return true
end
/*---------------------------------------------------------
Name: SetAlpha
---------------------------------------------------------*/
self.Alpha = _alpha_
end
/*---------------------------------------------------------
Name: SetMaterial
---------------------------------------------------------*/
//self.Material = surface.GetTextureID( _matname_ )
if ( Texture ) then
else
self.Width = 32
self.Height = 32
end
end
/*---------------------------------------------------------
Name: PerformLayout
---------------------------------------------------------*/
function PANEL:PerformLayout()
if (!self.AutoSize) then return end
self:
SetSize( self.Width, self.Height
)
end