blob: c1acae471e177ab49b1a4f78172e0a1d59e76e6e (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#ifndef COMMENTARYDIALOG_H
#define COMMENTARYDIALOG_H
#ifdef _WIN32
#pragma once
#endif
#include "vgui_controls/Frame.h"
#include "utlvector.h"
#include <vgui/KeyCode.h>
class CGameChapterPanel;
class CSkillSelectionDialog;
//-----------------------------------------------------------------------------
// Purpose: Handles selection of commentary mode on/off
//-----------------------------------------------------------------------------
class CCommentaryDialog : public vgui::Frame
{
DECLARE_CLASS_SIMPLE( CCommentaryDialog, vgui::Frame );
public:
CCommentaryDialog(vgui::Panel *parent);
~CCommentaryDialog();
virtual void OnClose( void );
virtual void OnCommand( const char *command );
virtual void OnKeyCodePressed(vgui::KeyCode code);
};
//-----------------------------------------------------------------------------
// Purpose: Small dialog to remind players on method of changing commentary mode
//-----------------------------------------------------------------------------
class CPostCommentaryDialog : public vgui::Frame
{
DECLARE_CLASS_SIMPLE( CPostCommentaryDialog, vgui::Frame );
public:
CPostCommentaryDialog(vgui::Panel *parent);
~CPostCommentaryDialog();
virtual void OnFinishedClose( void );
virtual void OnKeyCodeTyped(vgui::KeyCode code);
virtual void OnKeyCodePressed(vgui::KeyCode code);
private:
bool m_bResetPaintRestrict;
};
#endif // COMMENTARYDIALOG_H
|