home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / appkit / Bitmap.h < prev    next >
Text File  |  1990-05-03  |  1KB  |  43 lines

  1. /*
  2.     Bitmap.h
  3.     Application Kit, Release 1.0
  4.     Copyright (c) 1988, 1989, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import <objc/Object.h>
  8. #import "graphics.h"
  9.  
  10. /* NOTE: This class has been obsoleted, use NXImage instead.    */
  11. /*       To ease conversion, the file obsoleteBitmap.h contains */
  12. /*       The old declarations of the Bitmap methods.            */
  13.  
  14. /* Bitmap Types */
  15.  
  16. #define    NX_UNIQUEBITMAP        (-1)
  17. #define    NX_NOALPHABITMAP    (0)
  18. #define    NX_ALPHABITMAP        (1)
  19. #define    NX_UNIQUEALPHABITMAP    (2)
  20.  
  21. @interface Bitmap : Object
  22. {
  23.     NXRect         frame;    
  24.     char       *iconName;    
  25.     int             type;    
  26.     int            _builtIn;
  27.     void       *_manager;        
  28.     struct __bFlags{
  29.     unsigned int    _flipDraw:1;
  30.     unsigned int    _systemBitmap:1;
  31.     unsigned int    _nibBitmap:1;
  32.     unsigned int    _willFree:1;
  33.     unsigned int    _RESERVED:12;
  34.     }               _bFlags;
  35. }
  36.  
  37. /* These remain since the prototypes are necessary for correctness. */
  38.  
  39. + newSize:(NXCoord)width :(NXCoord)height type:(int)aType;
  40. - resize:(NXCoord)theWidth :(NXCoord)theHeight;
  41.  
  42. @end
  43.