Up
Authors
- Scott Christley (
scottc@net-community.com
)
-
- Adam Fedor (
fedor@gnu.org
)
-
Holds an image to use as a cursor
Copyright: (C) 1996,1999,2001 Free Software Foundation, Inc.
- Declared in:
- AppKit/NSCursor.h
- Conforms to:
- NSCoding
Availability: OpenStep
Description forthcoming.
Instance Variables
Method summary
+ (
NSCursor*)
IBeamCursor;
Availability: OpenStep
Returns an I-beam cursor.
+ (
NSCursor*)
arrowCursor;
Availability: OpenStep
+ (
NSCursor*)
closedHandCursor;
Availability: MacOS-X 10.0.0
Description forthcoming.
+ (
NSCursor*)
crosshairCursor;
Availability: MacOS-X 10.0.0
Description forthcoming.
+ (
NSCursor*)
currentCursor;
Availability: OpenStep
Returns the current cursor.
+ (
NSCursor*)
disappearingItemCursor;
Availability: MacOS-X 10.0.0
Description forthcoming.
+ (
NSCursor*)
greenArrowCursor;
Availability: Gui 0.0.0
Description forthcoming.
+ (void)
hide;
Availability: OpenStep
Hides the current cursor.
+ (BOOL)
isHiddenUntilMouseMoves;
Availability: OpenStep
Returns whther the cursor is hidden until mouse moves
+ (
NSCursor*)
openHandCursor;
Availability: MacOS-X 10.0.0
Description forthcoming.
+ (
NSCursor*)
pointingHandCursor;
Availability: MacOS-X 10.0.0
Description forthcoming.
+ (void)
pop;
Availability: OpenStep
Pops the cursor off the top of the stack and makes the previous one as the current cursor.
+ (
NSCursor*)
resizeDownCursor;
Availability: MacOS-X 10.0.0
Description forthcoming.
+ (
NSCursor*)
resizeLeftCursor;
Availability: MacOS-X 10.0.0
Description forthcoming.
+ (
NSCursor*)
resizeLeftRightCursor;
Availability: MacOS-X 10.0.0
Description forthcoming.
+ (
NSCursor*)
resizeRightCursor;
Availability: MacOS-X 10.0.0
Description forthcoming.
+ (
NSCursor*)
resizeUpCursor;
Availability: MacOS-X 10.0.0
Description forthcoming.
+ (
NSCursor*)
resizeUpDownCursor;
Availability: MacOS-X 10.0.0
Description forthcoming.
+ (void)
setHiddenUntilMouseMoves: (BOOL)flag;
Availability: OpenStep
Hides the cursor if flag is YES
. Unhides it if NO
+ (void)
unhide;
Availability: OpenStep
Shows the NSCursor.
See Also: +hide
- (NSPoint)
hotSpot;
Availability: OpenStep
Returns the hot spot point of the NSCursor
- (
NSImage*)
image;
Availability: OpenStep
Returns the image of the NSCursor
- (id)
initWithImage: (
NSImage*)newImage;
Availability: OpenStep
Initializes and returns a new NSCursor with a NSImage newImage and a hot spot point with x=0 and y=15.
See Also: -initWithImage:hotSpot:
- (id)
initWithImage: (
NSImage*)newImage
foregroundColorHint: (
NSColor*)fg
backgroundColorHint: (
NSColor*)bg
hotSpot: (NSPoint)hotSpot;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (id)
initWithImage: (
NSImage*)newImage
hotSpot: (NSPoint)hotSpot;
Availability: OpenStep
Initializes and returns a new NSCursor with a NSImage newImage and the hot spot to hotSpot.
See Also: -initWithImage:
-setImage:
- (BOOL)
isSetOnMouseEntered;
Availability: OpenStep
- (BOOL)
isSetOnMouseExited;
Availability: OpenStep
- (void)
mouseEntered: (
NSEvent*)theEvent;
Availability: OpenStep
- (void)
mouseExited: (
NSEvent*)theEvent;
Availability: OpenStep
- (void)
pop;
Availability: OpenStep
Pops the cursor off the top of the stack and makes the previous the current cursor.
- (void)
push;
Availability: OpenStep
Adds the NSCursor into the cursor stack and makes it the current cursor.
See Also: -pop
-set
- (void)
set;
Availability: OpenStep
Sets the NSCursor as the current cursor.
- (void)
setHotSpot: (NSPoint)spot;
Availability: OpenStep removed at OPENSTEP 4.0.0
Sets the hot spot point of the NSCursor to spot
- (void)
setImage: (
NSImage*)newImage;
Availability: OpenStep removed at OPENSTEP 4.0.0
Sets newImage the image of the NSCursor
- (void)
setOnMouseEntered: (BOOL)flag;
Availability: OpenStep
- (void)
setOnMouseExited: (BOOL)flag;
Availability: OpenStep
Instance Variables for NSCursor Class
@protected void* _cid;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
@protected NSImage* _cursor_image;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
@protected NSPoint _hot_spot;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
@protected BOOL _is_set_on_mouse_entered;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
@protected BOOL _is_set_on_mouse_exited;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Up