Skip to content

Commit 1335f58

Browse files
committed
Add rotation cursor.
git-svn-id: http://root.cern.ch/svn/root/trunk@47049 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 96ed7af commit 1335f58

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

graf2d/cocoa/src/QuartzWindow.mm

+4
Original file line numberDiff line numberDiff line change
@@ -2615,6 +2615,9 @@ - (NSCursor *) createCustomCursor
26152615
case kArrowRight:
26162616
pngFileName = "right_arrow_cursor.png";
26172617
break;
2618+
case kRotate:
2619+
pngFileName = "rotate.png";
2620+
break;
26182621
case kBottomLeft:
26192622
case kTopRight:
26202623
pngFileName = "top_right_cursor.png";
@@ -2638,6 +2641,7 @@ - (NSCursor *) createCustomCursor
26382641
NSString *nsPath = [NSString stringWithFormat : @"%s", path];//in autorelease pool.
26392642
NSImage * const cursorImage = [[NSImage alloc] initWithContentsOfFile : nsPath];//must call release.
26402643

2644+
26412645
if (!cursorImage)
26422646
return nil;
26432647

icons/rotate.png

10.1 KB
Loading

0 commit comments

Comments
 (0)