Re: Trouble with standardWindowButton
Re: Trouble with standardWindowButton
- Subject: Re: Trouble with standardWindowButton
- From: Kevin Ballard <email@hidden>
- Date: Wed, 17 Mar 2004 15:27:36 -0500
On Mar 17, 2004, at 10:12 AM, Casey Fleser wrote:
Once I get the normal windows buttons working, I was hoping to shrink
them down a bit much like the buttons in iTunes minimized. I'd tried
change the size of the button via it's cell's setControlSize. This had
no affect for either NSSmallControlSize or NSMiniControlSize. Does
anyone know whether iTunes is using a custom solution or standard
APIs?
iTunes is using a custom solution. If you look in its Resources folder,
you'll find a .rsrc file. If you poke around in the PICT resources, you
can find the buttons there.
Finally, I see that the iTunes window buttons respond to changing the
appearance from Blue to Graphite. In the unhappy event that I have to
roll my own solution can somehow point me in the right direction on
how my app is notified of a change in themes so I can alter the look
of my controls appropriately?
Yep. When the theme changes, a distributed notification is sent with
the name AppleAquaColorVariantChanged
--
Kevin Ballard
email@hidden
http://www.tildesoft.com
http://kevin.sb.org
_______________________________________________
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.