diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2012-05-03 02:06:15 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2012-05-03 02:06:15 +0000 |
| commit | 3198928b491fb91cdd177505c051659f89aa4158 (patch) | |
| tree | 8cf8b51a36ba7e865d3c41984746ae35a26c9e6a /src/live_effects/lpe-knot.cpp | |
| parent | Find dialog: better user message (diff) | |
| download | inkscape-3198928b491fb91cdd177505c051659f89aa4158.tar.gz inkscape-3198928b491fb91cdd177505c051659f89aa4158.zip | |
Adding base configurable sizing of controls/handles.
(bzr r11316)
Diffstat (limited to 'src/live_effects/lpe-knot.cpp')
| -rw-r--r-- | src/live_effects/lpe-knot.cpp | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/live_effects/lpe-knot.cpp b/src/live_effects/lpe-knot.cpp index 7ec103a85..3a9b036d8 100644 --- a/src/live_effects/lpe-knot.cpp +++ b/src/live_effects/lpe-knot.cpp @@ -607,15 +607,12 @@ LPEKnot::addCanvasIndicators(SPLPEItem */*lpeitem*/, std::vector<Geom::PathVecto hp_vec.push_back(pathv); } -void -LPEKnot::addKnotHolderEntities(KnotHolder *knotholder, SPDesktop *desktop, SPItem *item) { - { - KnotHolderEntity *e = new KnotHolderEntityCrossingSwitcher(this); - e->create( desktop, item, knotholder, - _("Drag to select a crossing, click to flip it") - /*optional: knot_shape, knot_mode, knot_color*/); - knotholder->add(e); - } +void LPEKnot::addKnotHolderEntities(KnotHolder *knotholder, SPDesktop *desktop, SPItem *item) +{ + KnotHolderEntity *e = new KnotHolderEntityCrossingSwitcher(this); + e->create( desktop, item, knotholder, Inkscape::CTRL_TYPE_UNKNOWN, + _("Drag to select a crossing, click to flip it") ); + knotholder->add(e); }; |
