We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96ed7af commit 1335f58Copy full SHA for 1335f58
graf2d/cocoa/src/QuartzWindow.mm
@@ -2615,6 +2615,9 @@ - (NSCursor *) createCustomCursor
2615
case kArrowRight:
2616
pngFileName = "right_arrow_cursor.png";
2617
break;
2618
+ case kRotate:
2619
+ pngFileName = "rotate.png";
2620
+ break;
2621
case kBottomLeft:
2622
case kTopRight:
2623
pngFileName = "top_right_cursor.png";
@@ -2638,6 +2641,7 @@ - (NSCursor *) createCustomCursor
2638
2641
NSString *nsPath = [NSString stringWithFormat : @"%s", path];//in autorelease pool.
2639
2642
NSImage * const cursorImage = [[NSImage alloc] initWithContentsOfFile : nsPath];//must call release.
2640
2643
2644
+
2645
if (!cursorImage)
2646
return nil;
2647
icons/rotate.png
10.1 KB
0 commit comments