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.

36 lines
1.0 KiB

  1. //====== Copyright � 1996-2005, Valve Corporation, All rights reserved. =======
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef COMMENTARYEXPLANATIONDIALOG_H
  7. #define COMMENTARYEXPLANATIONDIALOG_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "vgui_controls/Frame.h"
  12. #include "utlvector.h"
  13. #include <vgui/KeyCode.h>
  14. //-----------------------------------------------------------------------------
  15. // Purpose: Dialog that explains the commentary mode
  16. //-----------------------------------------------------------------------------
  17. class CCommentaryExplanationDialog : public vgui::Frame
  18. {
  19. DECLARE_CLASS_SIMPLE( CCommentaryExplanationDialog, vgui::Frame );
  20. public:
  21. CCommentaryExplanationDialog(vgui::Panel *parent, char *pszFinishCommand);
  22. ~CCommentaryExplanationDialog();
  23. virtual void OnKeyCodePressed(vgui::KeyCode code);
  24. virtual void OnCommand( const char *command );
  25. virtual void OnClose( void );
  26. private:
  27. char m_pszFinishCommand[ 512 ];
  28. };
  29. #endif // COMMENTARYEXPLANATIONDIALOG_H