summaryrefslogtreecommitdiff
path: root/public/toolutils/ConsolePage.h
diff options
context:
space:
mode:
Diffstat (limited to 'public/toolutils/ConsolePage.h')
-rw-r--r--public/toolutils/ConsolePage.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/public/toolutils/ConsolePage.h b/public/toolutils/ConsolePage.h
new file mode 100644
index 0000000..a30b593
--- /dev/null
+++ b/public/toolutils/ConsolePage.h
@@ -0,0 +1,34 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================
+
+#ifndef CONSOLEPAGE_H
+#define CONSOLEPAGE_H
+
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "vgui_controls/consoledialog.h"
+
+
+//-----------------------------------------------------------------------------
+// Purpose: Game/dev console dialog
+//-----------------------------------------------------------------------------
+class CConsolePage : public vgui::CConsolePanel
+{
+ DECLARE_CLASS_SIMPLE( CConsolePage, vgui::CConsolePanel );
+
+public:
+ CConsolePage( Panel *parent, bool bStatusVersion );
+
+private:
+ MESSAGE_FUNC_CHARPTR( OnCommandSubmitted, "CommandSubmitted", command );
+
+ // vgui overrides
+ virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
+};
+
+#endif // CONSOLEPAGE_H