diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /gameui/CommentaryExplanationDialog.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'gameui/CommentaryExplanationDialog.h')
| -rw-r--r-- | gameui/CommentaryExplanationDialog.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gameui/CommentaryExplanationDialog.h b/gameui/CommentaryExplanationDialog.h new file mode 100644 index 0000000..8ee6310 --- /dev/null +++ b/gameui/CommentaryExplanationDialog.h @@ -0,0 +1,37 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//============================================================================= + +#ifndef COMMENTARYEXPLANATIONDIALOG_H +#define COMMENTARYEXPLANATIONDIALOG_H +#ifdef _WIN32 +#pragma once +#endif + +#include "vgui_controls/Frame.h" +#include "utlvector.h" +#include <vgui/KeyCode.h> + +//----------------------------------------------------------------------------- +// Purpose: Dialog that explains the commentary mode +//----------------------------------------------------------------------------- +class CCommentaryExplanationDialog : public vgui::Frame +{ + DECLARE_CLASS_SIMPLE( CCommentaryExplanationDialog, vgui::Frame ); + +public: + CCommentaryExplanationDialog(vgui::Panel *parent, char *pszFinishCommand); + ~CCommentaryExplanationDialog(); + + virtual void OnKeyCodeTyped(vgui::KeyCode code); + virtual void OnKeyCodePressed(vgui::KeyCode code); + virtual void OnCommand( const char *command ); + virtual void OnClose( void ); + +private: + char m_pszFinishCommand[ 512 ]; +}; + +#endif // COMMENTARYEXPLANATIONDIALOG_H |