2023-09-06 00:27:38 +00:00
|
|
|
//========= Copyright © 1996-2001, Valve LLC, All rights reserved. ============
|
2023-09-06 00:25:25 +00:00
|
|
|
//
|
|
|
|
// Purpose:
|
|
|
|
//
|
|
|
|
// $NoKeywords: $
|
|
|
|
//=============================================================================
|
|
|
|
|
|
|
|
#ifndef CONSOLEPANEL_H
|
|
|
|
#define CONSOLEPANEL_H
|
|
|
|
|
|
|
|
#include<stdarg.h>
|
|
|
|
#include<VGUI_Panel.h>
|
|
|
|
|
|
|
|
namespace vgui
|
|
|
|
{
|
|
|
|
class TextGrid;
|
|
|
|
class TextEntry;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class ConsolePanel : public vgui::Panel
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
vgui::TextGrid* _textGrid;
|
|
|
|
vgui::TextEntry* _textEntry;
|
|
|
|
public:
|
|
|
|
ConsolePanel(int x,int y,int wide,int tall);
|
|
|
|
public:
|
|
|
|
virtual void setSize(int wide,int tall);
|
|
|
|
virtual int print(const char* text);
|
|
|
|
virtual int vprintf(const char* format,va_list argList);
|
|
|
|
virtual int printf(const char* format,...);
|
|
|
|
virtual void doExecCommand();
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2000-06-05 00:00:00 +00:00
|
|
|
#endif
|