Re: Are the progress spinner images publically available?
Re: Are the progress spinner images publically available?
- Subject: Re: Are the progress spinner images publically available?
- From: Sean McBride <email@hidden>
- Date: Thu, 07 Apr 2011 16:48:01 -0400
- Organization: Rogue Research Inc.
On Thu, 31 Mar 2011 14:54:42 -0700, James Bucanek said:
>Simple question: I'm creating a CALayer to animate an
>indeterminate progress spinner, a la NSProgressIndicator, and
>I'm wondering if the ubiquitous "sweeping" spinner images are
>public resources in the OS or do I need to roll my own?
There may be an HITheme API for that. Looks like HIThemeTrackDrawInfo,
kThemeIndeterminateBarLarge, and HIThemeDrawTrack() could do it.
Though part of Carbon.framework, these API are pretty new (10.3) and are
not deprecated and are available in 64 bit. I use them in a custom
NSControl/NSCell to draw a slider with two thumbs. Works great, and the
appearance remains correct with each new OS.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden