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.
40 lines
1.0 KiB
40 lines
1.0 KiB
//===== Copyright Š 1996-2005, Valve Corporation, All rights reserved. ======//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $NoKeywords: $
|
|
//===========================================================================//
|
|
|
|
#ifndef GAMECONSOLEDIALOG_H
|
|
#define GAMECONSOLEDIALOG_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "vgui_controls/consoledialog.h"
|
|
#include <color.h>
|
|
#include "utlvector.h"
|
|
#include "engineinterface.h"
|
|
#include "vgui_controls/Frame.h"
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Purpose: Game/dev console dialog
|
|
//-----------------------------------------------------------------------------
|
|
class CGameConsoleDialog : public vgui::CConsoleDialog
|
|
{
|
|
DECLARE_CLASS_SIMPLE( CGameConsoleDialog, vgui::CConsoleDialog );
|
|
|
|
public:
|
|
CGameConsoleDialog();
|
|
|
|
private:
|
|
MESSAGE_FUNC( OnClosedByHittingTilde, "ClosedByHittingTilde" );
|
|
MESSAGE_FUNC_CHARPTR( OnCommandSubmitted, "CommandSubmitted", command );
|
|
|
|
virtual void OnKeyCodeTyped( vgui::KeyCode code );
|
|
virtual void OnCommand( const char *command );
|
|
};
|
|
|
|
|
|
#endif // GAMECONSOLEDIALOG_H
|