Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

popupwin.h

Go to the documentation of this file.
00001 /*************************************************************************
00002 *   FILE: popupwin.h
00003 * AUTHOR: CAL
00004 * DATE: 25 April 1993
00005 * PURPOSE:
00006 *   Pop-up windows "memorize" the image which they overwrite when
00007 *   they are drawn, and restore the image when they are erased.
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

Generated on Sun Jul 6 23:07:16 2003 for Scotland Yard by doxygen1.2.15