home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / g / gina15.zip / demos / gredit / SquareDrawer.h < prev    next >
C/C++ Source or Header  |  1992-02-27  |  569b  |  23 lines

  1. // This may look like C code, but it is really -*- C++ -*-
  2.  
  3. //   Module      : SquareDrawer.h   Version 1.2
  4. //   LastSCCS    : 2/26/92  16:36:54
  5. //   LastEdit    : "Fri Feb 21 15:22:25 1992"
  6. //   Description : 
  7. //   Author      : 
  8. //   Copyright   : GMD Schloss Birlinghoven
  9.  
  10. #ifndef Squaredrawer_h
  11. #define Squaredrawer_h
  12.  
  13. class SquareDrawer : public RectangleDrawer {
  14.   public:
  15.     SquareDrawer( GnView *view, int x, int y );
  16.   protected:
  17.     virtual char *name() { return("Draw Square"); };
  18.   protected:
  19.     virtual void constrain_mouse( int &x, int &y );
  20. };
  21.  
  22. #endif
  23.