HPGCC3 Documentation 3.0 R003
|
00001 //& *** (c) 2006-2011 The HPGCC3 Team *** 00002 //& Claudio Lapilli 00003 //& Ingo Blank 00004 //& 00005 //& This file is licensed under the terms and conditions of the 00006 //& HPGCC3 license that is included with the source distribution. 00007 //& *** (c) 2006-2011 The HPGCC3 Team *** 00008 00009 00010 #ifndef GUIAUX_H_ 00011 #define GUIAUX_H_ 00012 00013 #ifndef GUI_H_ 00014 #include <gui.h> 00015 #endif 00016 00017 00018 class STDConsole { 00019 public: 00020 00021 00022 virtual void vTable(); 00023 00024 gFont *Font; 00025 gApplication *App; 00026 gForm *Form; 00027 gSoftMenu *Menu; 00028 gEditBox *Editor; 00029 gLoopData *Loop; 00030 int MaxSize; 00031 volatile int LastKey; 00032 int volatile lock; 00033 HEVENT update_event; 00034 00035 int put(const char *text); 00036 int puts(const char *text); 00037 int getchar(); 00038 char *gets(char *str); 00039 void clear(); 00040 void gotoxy(int x,int y); 00041 void wherexy(int *x,int*y); 00042 void clreol(); 00043 00044 void SetSizeLimit(int limit); 00045 void ConsoleBreak(); 00046 void FlushAllAndClose(); 00047 STDConsole(); 00048 STDConsole(int fontstyle,int MaxSize); 00049 virtual ~STDConsole(); 00050 00051 }; 00052 00053 00054 00055 #endif /*GUIAUX_H_*/