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