Hi edb
This is I nice stuff to the palette usage.
I have some suggestions...
Color Panel: I think it would be better for colour selection if we could move the cursor - while keeping the mouse button pressed - see a preview of the colour (using just the small square you will store the colour). Then, by releasing the colour we already know with more "precision" the chosen colour.
Although your colour pick is the same as the one in the default OS used by Wings3D (HSL - at least for Windows) the main advantage I see is the possibility to pick a set each time instead of only one. Maybe this can be useful for other OSs too.
For the entire content of this plugin, I think you could implement is as an upgrade to the official Palette window, which you could add the Color Panel as a second option to fill the selected square (usually it's done via Edit option) or append a set of colors the user has created when using your dialog.
The Import and Export option would be added as submenu of the Palette's one with the addition of the native Wings3D option (.wpal).
Also, take a look on this old thread: How to better organize a color palette ?
I would like you to take a "special" look on post #4, #10 (see tkbd idea and files)
I'm sure that should not be a problem to do the adaptation in the src/wings_palette.erl and I think this has potential to be approved by dgud.
Think about.
This is I nice stuff to the palette usage.
I have some suggestions...
Color Panel: I think it would be better for colour selection if we could move the cursor - while keeping the mouse button pressed - see a preview of the colour (using just the small square you will store the colour). Then, by releasing the colour we already know with more "precision" the chosen colour.
Although your colour pick is the same as the one in the default OS used by Wings3D (HSL - at least for Windows) the main advantage I see is the possibility to pick a set each time instead of only one. Maybe this can be useful for other OSs too.
For the entire content of this plugin, I think you could implement is as an upgrade to the official Palette window, which you could add the Color Panel as a second option to fill the selected square (usually it's done via Edit option) or append a set of colors the user has created when using your dialog.
The Import and Export option would be added as submenu of the Palette's one with the addition of the native Wings3D option (.wpal).
Also, take a look on this old thread: How to better organize a color palette ?
I would like you to take a "special" look on post #4, #10 (see tkbd idea and files)
I'm sure that should not be a problem to do the adaptation in the src/wings_palette.erl and I think this has potential to be approved by dgud.
Think about.