Modal color picker

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Modal color picker

Jon Harman
Hi,

I'd like to use the color picker as a modal window from my plugin.  I.e.
I want it to have the user choose a color then click on OK and have the
color picker return the color chosen.

It this possible?

Jon
Reply | Threaded
Open this post in threaded view
|

Re: Modal color picker

Wayne Rasband
> I'd like to use the color picker as a modal window from my plugin.  
> I.e. I want it to have the user choose a color then click on OK and
> have the color picker return the color chosen.
>
> It this possible?

The color picker (Image>Color>Color Picker) is not model but the color
chooser is. The color chooser (ij.gui.ColorChooser) is used when you
double click on a color in the color picker. It is also used by the
Image>Color>Edit LUT command.

-wayne