Counter Strike : Global Offensive Source Code
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

  1. //===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //===========================================================================//
  7. #ifndef GAMECONSOLEDIALOG_H
  8. #define GAMECONSOLEDIALOG_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "vgui_controls/consoledialog.h"
  13. #include <color.h>
  14. #include "utlvector.h"
  15. #include "engineinterface.h"
  16. #include "vgui_controls/Frame.h"
  17. //-----------------------------------------------------------------------------
  18. // Purpose: Game/dev console dialog
  19. //-----------------------------------------------------------------------------
  20. class CGameConsoleDialog : public vgui::CConsoleDialog
  21. {
  22. DECLARE_CLASS_SIMPLE( CGameConsoleDialog, vgui::CConsoleDialog );
  23. public:
  24. CGameConsoleDialog();
  25. private:
  26. MESSAGE_FUNC( OnClosedByHittingTilde, "ClosedByHittingTilde" );
  27. MESSAGE_FUNC_CHARPTR( OnCommandSubmitted, "CommandSubmitted", command );
  28. virtual void OnKeyCodeTyped( vgui::KeyCode code );
  29. virtual void OnCommand( const char *command );
  30. };
  31. #endif // GAMECONSOLEDIALOG_H