home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / OpenStepConversion / IntermediateFrameworks2 / AppKit.framework / Headers / NSCursor.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-09-29  |  933 b   |  48 lines

  1. /*
  2.     NXCursor.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import <Foundation/NSObject.h>
  8. #import "NSImage.h"
  9.  
  10. @interface NSCursor : NSObject
  11. {
  12.     NSPoint             hotSpot;
  13.     struct _csrFlags {
  14. #ifdef __BIG_ENDIAN__
  15.     unsigned int        onMouseExited:1;
  16.     unsigned int        onMouseEntered:1;
  17.     unsigned int        _RESERVED:14;
  18. #else
  19.     unsigned int        _RESERVED:14;
  20.     unsigned int        onMouseEntered:1;
  21.     unsigned int        onMouseExited:1;
  22. #endif
  23.     }                   cFlags;
  24.     id            image;
  25.     unsigned int    _reservedInt;
  26. }
  27.  
  28. + pop;
  29. + currentCursor;
  30. + (NSCursor *)arrowCursor;
  31. + (NSCursor *)IBeamCursor;
  32.  
  33. - init;
  34. - initFromImage:newImage;
  35.  
  36. - image;
  37. - setImage:newImage;
  38. - setHotSpot:(NSPoint)spot;
  39. - push;
  40. - pop;
  41. - set;
  42. - setOnMouseExited:(BOOL)flag;
  43. - setOnMouseEntered:(BOOL)flag;
  44. - mouseEntered:(NXEvent *)theEvent;
  45. - mouseExited:(NXEvent *)theEvent;
  46.  
  47. @end
  48.