MyPaint/Features/Palette

What is it
A simple widget where you can mix and store colors. Based around this idea on the GUI brainstorm.

How do I get it
Recommended way: Add the new repo to your clone of the main development repo. * #if you dont have it run this command. You only need to do this once * git clone git://gitorious.org/mypaint/mypaint.git * * #move to the directory which has the git repo * cd PATH-TO-CLONE * #add a reference to the other repo. You only need to do this once. * git remote add jonnor git://gitorious.org/~jonnor/mypaint/jonnors-clone.git * * #to update, run these two * git fetch jonnor * git checkout jonnor/palette * #then build MyPaint * scons * #and run it * ./mypaint

How do I use it

 * Currently the 'n' button toggles the palette. You can also find it under the "Color" menu.


 * You can paint each slot with your brush to change its color. The slot will then have a red edge to signify that you chose it.
 * Slots which you havent chosen manually will be generated using linear calculation between two slots that you have chosen.
 * You can erase a slot by using the brush in erase mode. This will make it autogenerated again, untill you manually select a new colro.
 * You enter erase mode by pressing 'e'


 * You add new palette strips by pressing the '+' button. The new one will appear above the strip you clicked on.
 * You can remove a strip by pressing the '-' button. This will remove the strip you clicked on.

Issues and limitations
Things that we intend to fix:
 * 1) Ugly buttons!
 * 2) Nothing that keeps the user from deleting all strips. Workaround: restart MyPaint
 * 3) No undo/redo stack, neither on slots or strips.
 * 4) No persistent storage of the palettes.

Things that are suggested:
 * We need your input on these matters and would appriciate new suggestions!


 * 1) Making the widget not decorated by the window manager and listed in the taskbar

Developer/Technical docs
Will come. For now see the source, which is under gui/palettewindow.py