home *** CD-ROM | disk | FTP | other *** search
/ Education Sampler 1992 [NeXTSTEP] / Education_1992_Sampler.iso / Programming / Documents / OOPClass / Examples / DragDemo_1.1 / DiagramCell.h < prev    next >
Encoding:
Text File  |  1992-06-17  |  344 b   |  17 lines

  1. #import <appkit/appkit.h>  //Standard for 3.0, inefficient for 2.1.
  2.  
  3. @interface DiagramCell:Object
  4.  
  5. {
  6.     NXRect frameRect;
  7.     NXImage *image;
  8. }
  9.     
  10. - setImage:(NXImage *)anImage;
  11. - getFrame:(NXRect *)rect;
  12. - moveBy:(NXCoord)dx :(NXCoord)dy inViewRect:(NXRect *)rect;
  13. - mouseHit:(NXPoint *)location;
  14. - drawSelf;
  15. - drawInDirtyRect:(NXRect *)rect;
  16.  
  17. @end