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

textwin.h

Go to the documentation of this file.
00001 /*************************************************************************
00002 *   FILE: textwin.h
00003 * AUTHOR: CAL
00004 * DATE: 26 April 1993
00005 * PURPOSE:
00006 *   A Text Window is a pop-up window which is automatically sized
00007 *   to contain given text.
00008 **************************************************************************/
00009 
00010 #ifndef _TEXTWIN_H
00011 #define _TEXTWIN_H
00012 
00013 #include "popupwin.h"
00014 
00015 const int TextWinFont    = SMALL_FONT;
00016 const int TextWinFontSize = 5;
00017 
00018 
00019 class TextWin : public PopUpWin
00020 {
00021   int TextColor;
00022   char** Text;
00023   int THeight, MinXDim, AddY;
00024 
00025 protected:
00026   void CalcDim (void);
00027 
00028 public:
00029   TextWin (int minxdim, int addy, int bc, int bkc, char **txt, int txtc);
00030   TextWin (int minxdim, int addy, int bc, int bkc, char* t, int tc,
00031     char **txt, int txtc);
00032   virtual ~TextWin () { }
00033 
00034   virtual void Draw ();
00035 };
00036 
00037 
00038 
00039 
00040 #endif

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