home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / appkit / NXCustomImageRep.h < prev    next >
Text File  |  1990-10-15  |  694b  |  31 lines

  1. /*
  2.     NXCustomImageRep.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "NXImageRep.h"
  8.  
  9. @interface NXCustomImageRep : NXImageRep
  10. {
  11.     SEL                 drawMethod;
  12.     id                  drawObject;
  13.     int            _reservedInt;
  14. }
  15.  
  16. - initDrawMethod:(SEL)aMethod inObject:anObject;
  17.  
  18. - (BOOL)draw;
  19. - read:(NXTypedStream *)stream;
  20. - write:(NXTypedStream *)stream;
  21.  
  22. /* 
  23.  * The following new... methods are now obsolete.  They remain in this  
  24.  * interface file for backward compatibility only.  Use Object's alloc method  
  25.  * and the init... methods UEned in this class instead.
  26.  */
  27. + newDrawMethod:(SEL)aMethod inObject:anObject;
  28.  
  29. @end
  30.  
  31.