home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / appkit / NXCachedImageRep.h < prev    next >
Text File  |  1991-12-15  |  896b  |  37 lines

  1. /*
  2.     NXCachedImageRep.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. #import "Window.h"
  9. #import <objc/zone.h>
  10.  
  11. @interface NXCachedImageRep : NXImageRep
  12. {
  13.     NXPoint             _origin;
  14.     int                 _reservedInt1;
  15.     Window           *_window;
  16.     void           *_cache;
  17.     int            _reservedInt2;
  18. }
  19.  
  20. - initFromWindow:(Window *)win rect:(const NXRect *)rect;
  21.  
  22. - getWindow:(Window **)win andRect:(NXRect *)rect;
  23. - (BOOL)draw;
  24. - read:(NXTypedStream *)stream;
  25. - write:(NXTypedStream *)stream;
  26. - copyFromZone:(NXZone *)zone;
  27. - free;
  28.  
  29. /* 
  30.  * The following new... methods are now obsolete.  They remain in this  
  31.  * interface file for backward compatibility only.  Use Object's alloc method  
  32.  * and the init... methods defined in this class instead.
  33.  */
  34. + newFromWindow:(Window *)win rect:(const NXRect *)rect;
  35.  
  36. @end
  37.