Files
hl2_src-leak-2017/src/gameui/CommentaryExplanationDialog.h
BotoX 60f625f414 import hl2_src from full.7z
source: magnet:?xt=urn:btih:21DDA6847DDE983F2F8063739249D2D1D09A5DDA
2020-12-25 16:26:23 +01:00

38 lines
1.1 KiB
C++

//========= 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