• 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 player buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iTunes-like player buttons


  • Subject: Re: iTunes-like player buttons
  • From: "Mark A. Stratman" <email@hidden>
  • Date: Wed, 30 Jun 2004 23:35:42 -0500

I've implemented some buttons just like those in iTunes. I used a rounded bevel button with an image (from the VLC player).
Have a look at http://yafca.sourceforge.net/

By the way, in case you need the arrow keys to control the buttons, have a look at the ArrowButton class I threw together (http://sporkstorms.org/code/ArrowButton/ - also included in yafca). If you try to simply use setKeyEquivalent with the arrow key's keycode, you'll find it "clicks" twice every time you the hit the key. It turns out to respond to both NSKeyUp and NSKeyDown for the arrow keys (strangely, imo... since it doesn't do that for most other keys). So that ArrowButton class ignores NSKeyUp.

hth
- mark

On Jun 30, 2004, at 5:55 PM, Julian Pellico wrote:

Hi,

Relatively simple question here...I want to have some round
play-control buttons in my app that look very similar to iTunes's
buttons. Unfortunately, you can't seem to customize the size of a
round button. Also, the iTunes buttons look very flat, flatter than
the round buttons in IB.

I'm developing on 10.2, so I don't know if my goal is easier with 10.3.

Thanks
-Julian
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >iTunes-like player buttons (From: Julian Pellico <email@hidden>)

  • Prev by Date: Re: Add application to Startup Items?
  • Previous by thread: iTunes-like player buttons
  • Next by thread: Circular confusion with Cocoa bundles
  • Index(es):
    • Date
    • Thread