• 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: iTunes-like progress bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iTunes-like progress bar


  • Subject: Re: iTunes-like progress bar
  • From: Uli Kusterer <email@hidden>
  • Date: Thu, 6 Jul 2006 12:46:54 +0200

Am 06.07.2006 um 01:51 schrieb Andrew Farmer:
On 05 Jul 06, at 15:38, Drarok Ithaqua wrote:
I'm looking to use a progress bar in my application, that the user can drag to skip through a file,
just like the one at the top of iTunes / MPlayer OS X etc.


I wondered if there was a simple way of doing this, maybe a few calls to an NSProgressIndicator
to switch it's display behaviour?

Nope. That's a custom control. If your project is going to be open source, you could take a look at the MPlayer code to see how they're doing it.

BTW -- that's called a scrub bar. The only way I know how to get one for free (which looks a tad different than iTunes's, though) is to use QuickTime. A QuickTime movie controller supports scrubbing. If your content is of a QuickTime-recognised format, that might suffice. If you were really desperate, I'd guess you could register your own QuickTime atom type that contains just enough information to make the movie controller work. But really, in that case I'd rather go through the hassle of creating my own custom control (keep in mind you also need accessibility for your custom control).


Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >iTunes-like progress bar (From: Drarok Ithaqua <email@hidden>)
 >Re: iTunes-like progress bar (From: Andrew Farmer <email@hidden>)

  • Prev by Date: Re: NSDate in a Range
  • Next by Date: Re: darken grey NSToolbar
  • Previous by thread: Re: iTunes-like progress bar
  • Next by thread: Re: iTunes-like progress bar
  • Index(es):
    • Date
    • Thread