[osx] Annotation cursors

Also added an option to osxapp for assigning a random cursor to all the annotations each time an annotation is added or removed.
This commit is contained in:
Minh Nguyễn
2015-12-01 15:34:15 -08:00
committed by Minh Nguyễn
parent f542d7b2a7
commit 004d04075a
4 changed files with 118 additions and 24 deletions

View File

@@ -12,6 +12,9 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, readonly) NSString *reuseIdentifier;
@property (nonatomic, getter=isSelectable) BOOL selectable;
/** The cursor that appears above any annotation using this annotation image. By default this property is set to `nil`, representing the current cursor. */
@property (nonatomic, nullable) NSCursor *cursor;
@end
NS_ASSUME_NONNULL_END