00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _POPUPWIN_H
00011 #define _POPUPWIN_H
00012
00013 #include "window.h"
00014
00015
00016 class PopUpWin : public Window
00017 {
00018 void *buffer;
00019 protected:
00020 PopUpWin (void) : Window () { buffer = NULL; }
00021 public:
00022 PopUpWin (int dx, int dy, int bc, int bkc)
00023 : Window (dx, dy, bc, bkc) { buffer = NULL; }
00024 PopUpWin (int dx, int dy, int bc, int bkc, char* t, int tc)
00025 : Window (dx, dy, bc, bkc, t, tc) { buffer = NULL; }
00026 virtual ~PopUpWin () { Erase(); delete buffer; }
00027 virtual void PrepScreen (void);
00028 virtual void Erase (void);
00029 };
00030
00031
00032 #endif