Looks great! Compiling the new code now.
Tav
On Tue, 2014-07-22 at 13:19 +0200, Tomasz Boczkowski wrote:
New functions were added to the swatches dialog.
The most important is the ability to modify swatches. A swatch properties dialog was added. When a swatch in "current document" category is selected, "swatch properties" option is active. After clicking it a dialog appears. It is possible to change swatch name. Technically it is stored in title child element. Swatch preview is displayed at the bottom of the dialog. Depending on swatch type different controls can be displayed. For colors a color notebook widget is used to change swatch value [1]. Pattern attributes can be changed using attribute table widget [2].
Gradient support has been added. Gradients having a gradient vector defined are displayed in swatches panel [3]. The user can apply gradient to existing object. It is linear by default. An exception to this is applying gradient to an object with existing radial one.
All pattern types can be chosen when no item is selected on canvas. In this case newly created items will receive selected style.
Regards Tomasz
[1] https://www.dropbox.com/s/5fb0r9hhdo4w2uc/solid-swatch-properties.mpeg [2] https://www.dropbox.com/s/54vi1j4ypjdv2mq/pattern-swatch-properties.mpeg [3] https://www.dropbox.com/s/z998vjvoucbirmg/gradient-support.mpeg