home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OpenStep 4.2
/
Openstep-4.2-Intel-Developer.iso
/
NextLibrary
/
Frameworks
/
AppKit.framework
/
Versions
/
B
/
Headers
/
NSCursor.h
< prev
next >
Wrap
Text File
|
1996-10-17
|
1KB
|
53 lines
/*
NSCursor.h
Application Kit
Copyright (c) 1994-1996, NeXT Software, Inc.
All rights reserved.
*/
#import <Foundation/NSObject.h>
#import <Foundation/NSGeometry.h>
@class NSImage;
@class NSEvent;
@class NSColor;
@interface NSCursor : NSObject <NSCoding> {
NSPoint _hotSpot;
struct _cursorFlags {
unsigned int onMouseExited:1;
unsigned int onMouseEntered:1;
unsigned int :30;
} _flags;
id _image;
#ifdef WIN32
void *_windowsCursor;
#endif
}
+ (NSCursor *)currentCursor;
+ (NSCursor *)arrowCursor;
+ (NSCursor *)IBeamCursor;
- (id)initWithImage:(NSImage *)newImage hotSpot:(NSPoint)aPoint;
- (id)initWithImage:(NSImage *)newImage foregroundColorHint:(NSColor *)fg backgroundColorHint:(NSColor *)bg hotSpot:(NSPoint)hotSpot;
+ (void)hide;
+ (void)unhide;
+ (void)setHiddenUntilMouseMoves:(BOOL)flag;
+ (void)pop;
- (NSImage *)image;
- (NSPoint)hotSpot;
- (void)push;
- (void)pop;
- (void)set;
- (void)setOnMouseExited:(BOOL)flag;
- (void)setOnMouseEntered:(BOOL)flag;
- (BOOL)isSetOnMouseExited;
- (BOOL)isSetOnMouseEntered;
- (void)mouseEntered:(NSEvent *)theEvent;
- (void)mouseExited:(NSEvent *)theEvent;
@end