Indeed I just made a new Quartz Composer application and threw

        [[NSColorPanel sharedColorPanel] setShowsAlpha:YES];

into my awakeFromNib and published controls do indeed have a alpha value with the default included QTZ. Removing that line removed the opacity controls.


On Oct 19, 2009, at 4:31 PM, Christopher Wright wrote:

There is a setShowsAlpha method for the color panel that your color well opens up..
I ran into this before and did a
[[NSColorPanel sharedColorPanel] setShowsAlpha:YES]; during applicationDidFinishLaunching.
Solved it for me, if I recall correctly.


it's not my color well, it's the QCCompositionParameterView's color panel. If you use that class, it handles the sliders and color well stuff for you (among all the other mundane UI things views have to deal with -- except resizing, it kinda messes up with that too - rdar://7304696 / http://openradar.appspot.com/7304696 ). So while I know the method to fix the problem, I don't have the object to do that. (of course, I can enumerate all the app's windows, interrogate the color panels, and change it manually myself, but that really shouldn't be necessary).

--
[ christopher wright ]
[email protected]
http://kineme.net/


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to