• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Are the progress spinner images publically available?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: How To Increment CALayer Retain Count?
  • Next by Date: Re: Localized sorting of a Core Data entity
  • Previous by thread: Re: Are the progress spinner images publically available?
  • Next by thread: Book for expert programmer about cocoa and Objective-C
  • Index(es):
    • Date
    • Thread