diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2013-11-11 23:34:19 +1100 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2013-11-11 23:34:19 +1100 |
commit | 7a678a3ae581bfb6a5c13a85319d60309b10f556 (patch) | |
tree | 08bc133b1bec28ee049489a80a935825d41f043b /cocoa/ScintillaView.mm | |
parent | 4bae69ba3c01be59d8918c56c341af78fc09192a (diff) | |
download | scintilla-mirror-7a678a3ae581bfb6a5c13a85319d60309b10f556.tar.gz |
Add @2x images for cursors and info bar to match retina displays.
From Mike Lischke.
Diffstat (limited to 'cocoa/ScintillaView.mm')
-rw-r--r-- | cocoa/ScintillaView.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index b6c39cf05..16d21974a 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -862,11 +862,11 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor) { NSBundle* bundle = [NSBundle bundleForClass: [ScintillaView class]]; - NSString* path = [bundle pathForResource: @"mac_cursor_busy" ofType: @"png" inDirectory: nil]; + NSString* path = [bundle pathForResource: @"mac_cursor_busy" ofType: @"tiff" inDirectory: nil]; NSImage* image = [[[NSImage alloc] initWithContentsOfFile: path] autorelease]; waitCursor = [[NSCursor alloc] initWithImage: image hotSpot: NSMakePoint(2, 2)]; - path = [bundle pathForResource: @"mac_cursor_flipped" ofType: @"png" inDirectory: nil]; + path = [bundle pathForResource: @"mac_cursor_flipped" ofType: @"tiff" inDirectory: nil]; image = [[[NSImage alloc] initWithContentsOfFile: path] autorelease]; reverseArrowCursor = [[NSCursor alloc] initWithImage: image hotSpot: NSMakePoint(12, 2)]; } |