Вы используете устаревший браузер. Этот и другие сайты могут отображаться в нём некорректно. Вам необходимо обновить браузер или попробовать использовать другой.
Called whenever the panel should be drawn. This hook will not run if the panel is completely off the screen, and will still run if any parts of the panel are still on screen. You can create panels with a customized appearance by overriding their Paint() function, which will prevent the default...
Draws a rounded rectangle. This function actually draws rectangles with 'gui/cornerX' textures applied to it's rounded corners. It means that this function will fail (or will be drawn not as expected) with any vertex operations, such as model matrices like cam. Start3D2D (corners would be...
wiki.facepunch.com
Код:
local frame = vgui.Create("DFrame")
frame:MakePopup()
frame:SetSize(400, 200)
frame:Center()
function frame:Paint(w,h)
draw.RoundedBox(0,0,w,h,Color(20,20,20))
end
Called whenever the panel should be drawn. This hook will not run if the panel is completely off the screen, and will still run if any parts of the panel are still on screen. You can create panels with a customized appearance by overriding their Paint() function, which will prevent the default...
Draws a rounded rectangle. This function actually draws rectangles with 'gui/cornerX' textures applied to it's rounded corners. It means that this function will fail (or will be drawn not as expected) with any vertex operations, such as model matrices like cam. Start3D2D (corners would be...
wiki.facepunch.com
Код:
local frame = vgui.Create("DFrame")
frame:MakePopup()
frame:SetSize(400, 200)
frame:Center()
function frame:Paint(w,h)
draw.RoundedBox(0,0,w,h,Color(20,20,20))
end
На данном сайте используются файлы cookie, чтобы персонализировать контент и сохранить Ваш вход в систему, если Вы зарегистрируетесь. Продолжая использовать этот сайт, Вы соглашаетесь на использование наших файлов cookie.
You may choose not to have a unique web analytics cookie identification number assigned to your computer to avoid the aggregation and analysis of data collected on this website.