Re: Overlay controls a la iTunes and QuickTime
Re: Overlay controls a la iTunes and QuickTime
- Subject: Re: Overlay controls a la iTunes and QuickTime
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 6 Jan 2009 14:22:04 +0100
Le 6 janv. 09 à 10:53, Jean-Daniel Dupas a écrit :
Le 5 janv. 09 à 06:58, Kiel Gillard a écrit :
Howdy all,
What would be the best way to implement a HUD-like overlay of
controls in the same manner as iTunes and QuickTime? These overlays
can be seen when playing a video in iTunes 8 or a full screen video
in (at least) the free version of QuickTime.
Is there example code or open source code that does this?
Thanks,
http://www.binarymethod.com/content/bghudappkit.php
Sorry my answer is not exactly what you ask for. In fact, this
framework is for the standard HUD window (which is different than the
iTunes/QuickTime windows).
If you want to create your own HUD window (like iTunes, ot QT), it's
not very difficult:
- Create your window in IB just like you would do with a standard
window. Change the class of the window to use your custom window
class (see http://developer.apple.com/samplecode/RoundTransparentWindow/
for example).
- Add your button with image and no title.
- Of course, you will have to create custom slider for volume, and
custom progress control if you want to replicate all QuickTime
controls).
_______________________________________________
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