Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.4 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #include "OptionsSubGame.h"
  7. #include "BasePanel.h"
  8. // memdbgon must be the last include file in a .cpp file!!!
  9. #include "tier0/memdbgon.h"
  10. //-----------------------------------------------------------------------------
  11. // Purpose: Constructor
  12. //-----------------------------------------------------------------------------
  13. COptionsSubGame::COptionsSubGame( vgui::Panel *parent, const char *name ) : BaseClass( parent, name )
  14. {
  15. SetDeleteSelfOnClose( true );
  16. LoadControlSettings( "Resource/OptionsSubGame.res" );
  17. }
  18. //-----------------------------------------------------------------------------
  19. // Purpose: Destructor
  20. //-----------------------------------------------------------------------------
  21. COptionsSubGame::~COptionsSubGame()
  22. {
  23. }
  24. void COptionsSubGame::OnClose( void )
  25. {
  26. #if defined( BASEPANEL_LEGACY_SOURCE1 )
  27. BasePanel()->RunCloseAnimation( "CloseOptionsSubGame" );
  28. #endif
  29. BaseClass::OnClose();
  30. }
  31. //-----------------------------------------------------------------------------
  32. // Purpose:
  33. //-----------------------------------------------------------------------------
  34. void COptionsSubGame::OnCommand( const char *command )
  35. {
  36. BaseClass::OnCommand( command );
  37. }