From 3bf9df6b2785fa6d951086978a3e66f49427166a Mon Sep 17 00:00:00 2001 From: FluorescentCIAAfricanAmerican <0934gj3049fk@protonmail.com> Date: Wed, 22 Apr 2020 12:56:21 -0400 Subject: 1 --- gameui/OptionsSubGame.cpp | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 gameui/OptionsSubGame.cpp (limited to 'gameui/OptionsSubGame.cpp') diff --git a/gameui/OptionsSubGame.cpp b/gameui/OptionsSubGame.cpp new file mode 100644 index 0000000..3092ea1 --- /dev/null +++ b/gameui/OptionsSubGame.cpp @@ -0,0 +1,41 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#include "OptionsSubGame.h" +#include "BasePanel.h" + +// memdbgon must be the last include file in a .cpp file!!! +#include "tier0/memdbgon.h" + +//----------------------------------------------------------------------------- +// Purpose: Constructor +//----------------------------------------------------------------------------- +COptionsSubGame::COptionsSubGame( vgui::Panel *parent, const char *name ) : BaseClass( parent, name ) +{ + SetDeleteSelfOnClose( true ); + LoadControlSettings( "Resource/OptionsSubGame.res" ); +} + +//----------------------------------------------------------------------------- +// Purpose: Destructor +//----------------------------------------------------------------------------- +COptionsSubGame::~COptionsSubGame() +{ +} + +void COptionsSubGame::OnClose( void ) +{ + BasePanel()->RunCloseAnimation( "CloseOptionsSubGame" ); + BaseClass::OnClose(); +} + +//----------------------------------------------------------------------------- +// Purpose: +//----------------------------------------------------------------------------- +void COptionsSubGame::OnCommand( const char *command ) +{ + BaseClass::OnCommand( command ); +} -- cgit v1.2.3