• 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
NSColorWell - controlling opacity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSColorWell - controlling opacity


  • Subject: NSColorWell - controlling opacity
  • From: Graham Cox <email@hidden>
  • Date: Sun, 26 Feb 2012 00:10:11 +1100

I use numerous colour wells all over my app. Mostly, I want the user to be able to use different alpha values, so I have enabled the opacity control for NSColorPanel globally for the app. But there are one or two places where I don't want that - these are associated with specific colour wells.

I was surprised to find I couldn't set whether the color panel displayed the opacity slider depending on which colour well was selected. Can anyone think of a way I could achieve that? Seems to me that the color well/color panel communication is a totally closed book - I've already got various workarounds to overcome other issues with this communication, but with this one it's looking like I'm going to have to throw out NSColorWell and just do it myself from scratch. I thought frameworks were supposed to help, not hinder?

--Graham
_______________________________________________

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


  • Follow-Ups:
    • Re: NSColorWell - controlling opacity
      • From: Fritz Anderson <email@hidden>
    • Re: NSColorWell - controlling opacity
      • From: John Joyce <email@hidden>
  • Prev by Date: Re: NSFileWrapper Role
  • Next by Date: Re: [Obj-C] if (self) vs. if (self != nil)
  • Previous by thread: [Moderator] List is apparently slow relaying messages
  • Next by thread: Re: NSColorWell - controlling opacity
  • Index(es):
    • Date
    • Thread