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.

54 lines
1.5 KiB

  1. //====== Copyright � 1996-2005, Valve Corporation, All rights reserved. =======
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef COMMENTARYDIALOG_H
  7. #define COMMENTARYDIALOG_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. class CGameChapterPanel;
  15. class CSkillSelectionDialog;
  16. //-----------------------------------------------------------------------------
  17. // Purpose: Handles selection of commentary mode on/off
  18. //-----------------------------------------------------------------------------
  19. class CCommentaryDialog : public vgui::Frame
  20. {
  21. DECLARE_CLASS_SIMPLE( CCommentaryDialog, vgui::Frame );
  22. public:
  23. explicit CCommentaryDialog(vgui::Panel *parent);
  24. ~CCommentaryDialog();
  25. virtual void OnClose( void );
  26. virtual void OnCommand( const char *command );
  27. virtual void OnKeyCodePressed(vgui::KeyCode code);
  28. };
  29. //-----------------------------------------------------------------------------
  30. // Purpose: Small dialog to remind players on method of changing commentary mode
  31. //-----------------------------------------------------------------------------
  32. class CPostCommentaryDialog : public vgui::Frame
  33. {
  34. DECLARE_CLASS_SIMPLE( CPostCommentaryDialog, vgui::Frame );
  35. public:
  36. explicit CPostCommentaryDialog(vgui::Panel *parent);
  37. ~CPostCommentaryDialog();
  38. virtual void OnFinishedClose( void );
  39. virtual void OnKeyCodePressed(vgui::KeyCode code);
  40. private:
  41. bool m_bResetPaintRestrict;
  42. };
  43. #endif // COMMENTARYDIALOG_H