diff options
| author | Valentin Ionita <valentin.ionita1201@gmail.com> | 2019-08-19 18:38:08 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2019-08-19 18:38:08 +0000 |
| commit | daf25233fe9b7713f0b5c3c6f1b42b3fac8abb1c (patch) | |
| tree | 2143be1f81e30ef55be7a548bebe6734c3533248 /src/verbs.cpp | |
| parent | reduce usage of desktop coordinates (#341) (diff) | |
| download | inkscape-daf25233fe9b7713f0b5c3c6f1b42b3fac8abb1c.tar.gz inkscape-daf25233fe9b7713f0b5c3c6f1b42b3fac8abb1c.zip | |
Add paint server dialog. Currently handles patterns and hatches. GSOC 2019.
Diffstat (limited to 'src/verbs.cpp')
| -rw-r--r-- | src/verbs.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp index 66b85d9a9..f36ef4c90 100644 --- a/src/verbs.cpp +++ b/src/verbs.cpp @@ -78,6 +78,7 @@ #include "ui/dialog/layers.h" #include "ui/dialog/new-from-template.h" #include "ui/dialog/object-properties.h" +#include "ui/dialog/paint-servers.h" #include "ui/dialog/save-template-dialog.h" #include "ui/dialog/swatches.h" #include "ui/dialog/symbols.h" @@ -2169,6 +2170,9 @@ void DialogVerb::perform(SPAction *action, void *data) case SP_VERB_DIALOG_SYMBOLS: dt->_dlg_mgr->showDialog("Symbols"); break; + case SP_VERB_DIALOG_PAINT: + dt->_dlg_mgr->showDialog("PaintServers"); + break; case SP_VERB_DIALOG_TRANSFORM: dt->_dlg_mgr->showDialog("Transformation"); break; @@ -3096,6 +3100,9 @@ Verb *Verb::_base_verbs[] = { N_("Select colors from a swatches palette"), INKSCAPE_ICON("swatches")), new DialogVerb(SP_VERB_DIALOG_SYMBOLS, "DialogSymbols", N_("S_ymbols..."), N_("Select symbol from a symbols palette"), INKSCAPE_ICON("symbols")), + new DialogVerb(SP_VERB_DIALOG_PAINT, "DialogPaintServers", N_("_Paint Servers..."), + // FIXME missing Inkscape Paint Server Icon + N_("Select paint server from a collection"), INKSCAPE_ICON("symbols")), new DialogVerb(SP_VERB_DIALOG_TRANSFORM, "DialogTransform", N_("Transfor_m..."), N_("Precisely control objects' transformations"), INKSCAPE_ICON("dialog-transform")), new DialogVerb(SP_VERB_DIALOG_ALIGN_DISTRIBUTE, "DialogAlignDistribute", N_("_Align and Distribute..."), |
