On Dec 19, 2012, at 8:03 PM, lordpi...@mac.com wrote: > I noticed recently that the Finder has a "new" very nice looking animated > busy cursor, which you can see here: > https://dl.dropbox.com/u/45534011/BusyCursor.png > > It should seem very familiar to Windows users who have had the "pointer + > hourglass" cursor for a long time. The meaning is... I am working on what you > asked me to do, things may take a moment but I haven't actually frozen > (unlike the spinning rainbow pizza of doom). In the picture "Open With" is > going to take a while to recalculate as Spotlight was busy indexing at that > moment. > > I put the "new" in inverted commas because Apple actually implemented this > cursor for Java apps a long time ago. This is the first time I've seen it in > a fully native app like the Finder. There's an NSCursor category defined here: > > /Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Headers/JRSCursor.h > > @interface NSCursor (JavaRuntimeSupport) > + (NSCursor *) javaBusyButClickableCursor; > > This will show that cursor successfully, but it obviously requires linking to > JavaRuntimeSupport.framework, which I doubt the Finder does?
You're actually seeing the cursor in Finder (and other apps) when opening a menu that requires a significant amount of time to open or render (which the "Open…" menu item often does). Menus in OS X apps (both Carbon and Cocoa) are still implemented using the Carbon Menu Manager, which accesses this cursor via the Carbon API SetAnimatedThemeCursor. I don't believe there's currently any NSCursor API for accessing this cursor; a Radar would be appropriate. -eric _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com