• 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: Tinting Buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tinting Buttons


  • Subject: Re: Tinting Buttons
  • From: David Remahl <email@hidden>
  • Date: Sat, 23 Jun 2001 10:21:22 +0200

You will probably have to make a custom control consisted of two images (you can use hue shift in photoshop for example). Apple sadly (?) never implemented more than the current tints of controls. Maybe they will in 10.1. The future will show...

Well, you may be able to do some black magic and try to change it programatically using a control you get from the system. Once you have the control you want to tint in an NSImage, we can help you by finding a graphics manipulation routine to shift the tint for you.

/ david

Hi,

I want to be able to apply a tint to a button, either programatically or
from interface builder.

I thought I was onto something with NSControlTint but it only takes an
enum whereas I think I need something that takes and NSColor.


References: 
 >Tinting Buttons (From: <email@hidden>)

  • Prev by Date: [NEWBIE] Sheets problem
  • Next by Date: Re: Tinting Buttons
  • Previous by thread: Tinting Buttons
  • Next by thread: Re: Tinting Buttons
  • Index(es):
    • Date
    • Thread