vgui_support: remove utl dependency, by porting new vgui support code from original engine, remove dead function definitions, remove dead vgui_main.h header from engine

This commit is contained in:
Alibek Omarov
2019-04-11 01:05:38 +03:00
parent 459f4a9788
commit 3c1c13850e
7 changed files with 200 additions and 474 deletions

View File

@@ -28,19 +28,12 @@ namespace vgui_support {
vguiapi_t *g_api;
FontCache *g_FontCache = 0;
Panel *rootpanel = NULL;
CEngineSurface *surface = NULL;
CEngineApp staticApp;
void VGui_Startup( int width, int height )
{
if( !g_FontCache )
{
g_FontCache = new FontCache();
}
if( rootpanel )
{
rootpanel->setSize( width, height );