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.
38 lines
1.1 KiB
38 lines
1.1 KiB
5 years ago
|
//========= 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
|