On Sat, 2011-12-17 at 08:34 -0800, Josh Andler wrote:
Romain,
The gradient toolbar should eventually look like the following: http://i.imgur.com/DZFC8.png
Note I hacked this together really quickly and it isn't pretty...
The 3rd gradient button is for Mesh gradients, which exist in a branch currently. Following changes get other existing options in the user's view. Repeat is the function from the Fill & Stroke dialog to allow None, Repeat, or Mirror options. Following that is a Reverse Gradient button (Shift+R in the gradient tool, but should have UI). Following are stop controls from the beyond broken gradient editor. Buttons to Add & Delete stops (Insert & Delete keys respectively), the Stop Selector, and the numeric Stop Offset widget. Note, all of the features already exist, they just need to be updated in the code and hooked up in the toolbar. Note the absence of the "Edit..." button. The VERY BROKEN Gradient Editor can be safely removed once these features are added to the toolbar.
It will be nice to no longer need the gradient editor. Note that I will probably add a fourth button to create a conical gradient (as a special form of mesh gradient). A number of the items will need to be grayed out when editing meshes: Repeat, Reverse, Offset. We may also want to specify the initial number of rows and columns in a mesh. But this is all a ways off.
Tav