|
|
|
@ -513,6 +513,7 @@ function menu.open( dt ) |
|
|
|
|
local cW, cH = c:GetSize() |
|
|
|
|
c:SetPos( (Quantum.Client.CharMenuList.x + Quantum.Client.CharMenuList.w) - cW, Quantum.Client.CharMenuList.y + Quantum.Client.CharMenuList.h + cH ) |
|
|
|
|
c.Paint = function( self ) theme.sharpblurrbutton( self ) end |
|
|
|
|
c:SetTextColor( Color( 255, 255, 255, 255 ) ) |
|
|
|
|
c.DoClick = function() |
|
|
|
|
surface.PlaySound( "UI/buttonclick.wav" ) |
|
|
|
|
f:Close() |
|
|
|
@ -619,7 +620,7 @@ function menu.open( dt ) |
|
|
|
|
p.dl = vgui.Create( "DButton", p ) |
|
|
|
|
p.dl:SetText("Delete Character") |
|
|
|
|
p.dl:SetFont( "q_text" ) |
|
|
|
|
p.dl:SetTextColor( Color( 0, 0, 0, 255 ) ) |
|
|
|
|
p.dl:SetTextColor( Color( 255, 100, 100, 255 ) ) |
|
|
|
|
p.dl:SizeToContents() |
|
|
|
|
p.dl.w, p.dl.h = p.dl:GetSize() |
|
|
|
|
p.dl:SetPos( Quantum.Client.CharMenuList.x, Quantum.Client.CharMenuList.y + ( Quantum.Client.CharMenuList.h + p.dl.h ) ) |
|
|
|
|