Re: NSColor (alpha enabling and setting color in color panel)
Re: NSColor (alpha enabling and setting color in color panel)
- Subject: Re: NSColor (alpha enabling and setting color in color panel)
- From: "Kenneth C. Dyke" <email@hidden>
- Date: Wed, 1 Jan 2003 19:54:19 -0800
On Wednesday, January 1, 2003, at 05:25 PM, Aaron Boothello wrote:
1. How do you enable the Alpha value slider in the Color panel ?
From NSColorPanel.h:
- (void)setShowsAlpha:(BOOL)flag;
- (BOOL)showsAlpha;
2. How do you set the color of the colorwell/color panel ?
example: i select a different colored text in my document, with the
color panel open. i would like the color of the text to be selected in
the color panel.
Not sure on this one...
-Ken
Kenneth Dyke, email@hidden (personal), email@hidden (work)
Sr. Mad Scientist, MacOS X OpenGL Group, Apple Computer, Inc.
C++ is to C as Lung Cancer is to Lung
_______________________________________________
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.