summaryrefslogtreecommitdiffstats
path: root/src/verbs.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-02-23 21:52:43 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-02-23 21:52:43 +0000
commit24577e91f0d05820369344d0881275e838fa2eef (patch)
tree9a48764a110091712cb30290d6904e6700042fed /src/verbs.cpp
parentWarning and space cleanup (diff)
downloadinkscape-24577e91f0d05820369344d0881275e838fa2eef.tar.gz
inkscape-24577e91f0d05820369344d0881275e838fa2eef.zip
* on-canvas clip and mask editing :) in the object menu you can find how to edit them.
* show helperpath toggle on node-edit toolbar. so helperpath is now also available for normal paths (instead of only for LPE'd paths) (bzr r4834)
Diffstat (limited to 'src/verbs.cpp')
-rw-r--r--src/verbs.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/verbs.cpp b/src/verbs.cpp
index 2902a4a2f..08f1bb124 100644
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
@@ -1335,12 +1335,18 @@ ObjectVerb::perform( SPAction *action, void *data, void */*pdata*/ )
case SP_VERB_OBJECT_SET_MASK:
sp_selection_set_mask(false, false);
break;
+ case SP_VERB_OBJECT_EDIT_MASK:
+ sp_selection_edit_clip_or_mask(dt, false);
+ break;
case SP_VERB_OBJECT_UNSET_MASK:
sp_selection_unset_mask(false);
break;
case SP_VERB_OBJECT_SET_CLIPPATH:
sp_selection_set_mask(true, false);
break;
+ case SP_VERB_OBJECT_EDIT_CLIPPATH:
+ sp_selection_edit_clip_or_mask(dt, true);
+ break;
case SP_VERB_OBJECT_UNSET_CLIPPATH:
sp_selection_unset_mask(true);
break;
@@ -2363,10 +2369,14 @@ Verb *Verb::_base_verbs[] = {
"object_flip_ver"),
new ObjectVerb(SP_VERB_OBJECT_SET_MASK, "ObjectSetMask", N_("_Set"),
N_("Apply mask to selection (using the topmost object as mask)"), NULL),
+ new ObjectVerb(SP_VERB_OBJECT_EDIT_MASK, "ObjectEditMask", N_("_Edit"),
+ N_("Edit mask"), NULL),
new ObjectVerb(SP_VERB_OBJECT_UNSET_MASK, "ObjectUnSetMask", N_("_Release"),
N_("Remove mask from selection"), NULL),
new ObjectVerb(SP_VERB_OBJECT_SET_CLIPPATH, "ObjectSetClipPath", N_("_Set"),
N_("Apply clipping path to selection (using the topmost object as clipping path)"), NULL),
+ new ObjectVerb(SP_VERB_OBJECT_EDIT_CLIPPATH, "ObjectEditClipPath", N_("_Edit"),
+ N_("Edit clipping path"), NULL),
new ObjectVerb(SP_VERB_OBJECT_UNSET_CLIPPATH, "ObjectUnSetClipPath", N_("_Release"),
N_("Remove clipping path from selection"), NULL),