home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / OpenStepConversion / IntermediateFrameworks4 / AppKit.framework / Headers / NSCursor.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-16  |  1.0 KB  |  53 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 <Foundation/NSGeometry.h>
  9.  
  10. @class NSImage;
  11. @class NSEvent;
  12.  
  13. @interface NSCursor : NSObject
  14. {
  15.     NSPoint             hotSpot;
  16.     struct _csrFlags {
  17. #ifdef __BIG_ENDIAN__
  18.     unsigned int        onMouseExited:1;
  19.     unsigned int        onMouseEntered:1;
  20.     unsigned int        _RESERVED:14;
  21. #else
  22.     unsigned int        _RESERVED:14;
  23.     unsigned int        onMouseEntered:1;
  24.     unsigned int        onMouseExited:1;
  25. #endif
  26.     }                   cFlags;
  27.     id            image;
  28.     unsigned int    _reservedInt;
  29. }
  30.  
  31. + pop;
  32. + currentCursor;
  33. + (NSCursor *)arrowCursor;
  34. + (NSCursor *)IBeamCursor;
  35.  
  36. + (void)hide;
  37. + (void)unhide;
  38. + (void)setHiddenUntilMouseMoves:(BOOL)flag;
  39.  
  40. - initFromImage:newImage;
  41. - image;
  42. - setImage:newImage;
  43. - setHotSpot:(NSPoint)spot;
  44. - push;
  45. - pop;
  46. - set;
  47. - setOnMouseExited:(BOOL)flag;
  48. - setOnMouseEntered:(BOOL)flag;
  49. - mouseEntered:(NSEvent *)theEvent;
  50. - mouseExited:(NSEvent *)theEvent;
  51.  
  52. @end
  53.