|
|
@ -51,6 +51,7 @@ function menu.open( dt ) |
|
|
|
surface.DrawRect( 0, 0, w, h ) |
|
|
|
surface.DrawRect( 0, 0, w, h ) |
|
|
|
end |
|
|
|
end |
|
|
|
f:SetDraggable( false ) |
|
|
|
f:SetDraggable( false ) |
|
|
|
|
|
|
|
f:ShowCloseButton( false ) |
|
|
|
f:MakePopup() |
|
|
|
f:MakePopup() |
|
|
|
function f:OnClose() |
|
|
|
function f:OnClose() |
|
|
|
Quantum.Client.IsInMenu = false -- show the hud when closed |
|
|
|
Quantum.Client.IsInMenu = false -- show the hud when closed |
|
|
@ -166,7 +167,7 @@ function menu.open( dt ) |
|
|
|
-- create char button |
|
|
|
-- create char button |
|
|
|
local cr = vgui.Create( "DButton", p ) |
|
|
|
local cr = vgui.Create( "DButton", p ) |
|
|
|
cr:SetText("Create New Character") |
|
|
|
cr:SetText("Create New Character") |
|
|
|
cr:SetFont( "q_text" ) |
|
|
|
cr:SetFont( "q_button" ) |
|
|
|
cr:SetTextColor( Color( 0, 0, 0, 255 ) ) |
|
|
|
cr:SetTextColor( Color( 0, 0, 0, 255 ) ) |
|
|
|
cr:SizeToContents() |
|
|
|
cr:SizeToContents() |
|
|
|
cr.w, cr.h = cr:GetSize() |
|
|
|
cr.w, cr.h = cr:GetSize() |
|
|
|