home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2 / Openstep-4.2-Intel-Developer.iso / NextLibrary / Frameworks / AppKit.framework / Versions / B / Headers / NSCachedImageRep.h < prev    next >
Text File  |  1996-10-17  |  619b  |  27 lines

  1. /*
  2.     NSCachedImageRep.h
  3.     Application Kit
  4.     Copyright (c) 1994-1996, NeXT Software, Inc.
  5.     All rights reserved.
  6. */
  7.  
  8. #import <AppKit/NSImageRep.h>
  9. @class NSWindow;
  10.  
  11. @interface NSCachedImageRep : NSImageRep {
  12.     NSPoint _origin;
  13.     NSWindow *_window;
  14.     void *_cache;
  15. }
  16.  
  17. /* References the specified rect within the window; the window is retained */
  18. - (id)initWithWindow:(NSWindow *)win rect:(NSRect)rect;
  19.  
  20. /* Creates a location in some window. Will be freed when rep is freed */
  21. - (id)initWithSize:(NSSize)size depth:(NSWindowDepth)depth separate:(BOOL)flag alpha:(BOOL)alpha;
  22.  
  23. - (NSWindow *)window;
  24. - (NSRect)rect;
  25.  
  26. @end
  27.