@ -25,6 +25,14 @@ local function renderBlur( p, a, d )
end
function theme.borderpanel( p, color )
local w, h = p:GetSize()
local clr = color || Color( 20, 20, 20, 100 )
surface.SetDrawColor( clr )
surface.DrawOutlinedRect( 0, 0, w, h )
function theme.panel( p, color )
local clr = color || Color( 0, 0, 0, 200 )
@ -258,7 +258,9 @@ local pages = {
mscroll.w, mscroll.h = mscroll:GetSize()
mscroll:SetPos( 0, ip.h - mscroll.h )
mscroll:GetVBar():SetSize( 0, 0 )
mscroll.Paint = function( self ) theme.panel( self ) end -- temp
mscroll.Paint = function( self ) theme.panel( self )
theme.borderpanel( self )
--- Model viewer