NS/main/source/cl_dll/vgui_ConsolePanel.h
Karl 8552ac617c Import from old repository
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@1 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-03-09 01:31:56 +00:00

32 lines
No EOL
577 B
C++

#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();
};
#endif