upload "kind" alien swarm

This commit is contained in:
nillerusr
2023-10-03 17:23:56 +03:00
parent b7bd94c52e
commit 7d3c0d8b5a
4229 changed files with 462900 additions and 495155 deletions
+40
View File
@@ -0,0 +1,40 @@
#include "cbase.h"
#include "OutroFrame.h"
#include "vgui\CampaignPanel.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
OutroFrame::OutroFrame(Panel *parent, const char *panelName, bool showTaskbarIcon) :
vgui::Frame(parent, panelName, showTaskbarIcon)
{
vgui::HScheme scheme = vgui::scheme()->LoadSchemeFromFile("resource/SwarmSchemeNew.res", "SwarmSchemeNew");
SetScheme(scheme);
SetSize( ScreenWidth() + 1, ScreenHeight() + 1 );
SetTitle("Outro", true );
SetPos(0,0);
SetMoveable(false);
SetSizeable(false);
SetMenuButtonVisible(false);
SetMaximizeButtonVisible(false);
SetMinimizeToSysTrayButtonVisible(false);
SetCloseButtonVisible(false);
SetTitleBarVisible(false);
SetAlpha(0.3f);
SetPaintBackgroundEnabled(false);
CampaignPanel *campaignpanel = new CampaignPanel( this, "CampaignPanel" );
campaignpanel->SetVisible(true);
campaignpanel->InvalidateLayout();
RequestFocus();
SetVisible(true);
SetEnabled(true);
SetKeyBoardInputEnabled(false);
}
void OutroFrame::PerformLayout()
{
SetSize( ScreenWidth() + 1, ScreenHeight() + 1 );
SetPos(0,0);
}