blob: 8ee6310694be618f080a8731ac7e274edb711c01 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
|