Back to Evolution Project page


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Header Files   Sources   Compound Members   File Members  

Window.h

This is the verbatim text of the Window.h include file.
#ifndef WINDOW_EVO 
#define WINDOW_EVO 

#include "Screen.h"

//* It is a base class for windows inside the screens.
class TWindow { 
 public: 
  CL_ClipRect* rect; //Coordinates of the window inside the screen
  virtual int Draw(); //* As the Show() method in the Screen class, Draw() draws the window  
  //*Constructor and Destructor
  TWindow(TScreen* parent_new, int xx, int yy, int sizexx, int sizeyy) {
    parent = parent_new;
    rect = new CL_ClipRect(xx, yy, xx+sizexx, yy+sizeyy);
  }
  virtual ~TWindow(){
    delete rect;
  }
 private: 
  
 protected:
  TScreen* parent; //The parent screen

};


#endif //WINDOW_EVO 

Generated at Mon Nov 6 22:47:08 2000 for TheGameofEvolution by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999