diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-01-02 18:23:25 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-01-02 18:23:25 +0000 |
| commit | 319a6309b90ad4674b117bbda0df9f34b3455053 (patch) | |
| tree | 2e5242884aff5213a4fbb686418ba9976b18dbdf /src | |
| parent | make LPE parameters responsible for transformation (LPE cycles through its pa... (diff) | |
| download | inkscape-319a6309b90ad4674b117bbda0df9f34b3455053.tar.gz inkscape-319a6309b90ad4674b117bbda0df9f34b3455053.zip | |
fix typo notepath => nodepath
(bzr r4369)
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/effect.cpp | 2 | ||||
| -rw-r--r-- | src/live_effects/effect.h | 2 | ||||
| -rw-r--r-- | src/live_effects/lpe-gears.cpp | 4 | ||||
| -rw-r--r-- | src/live_effects/lpe-gears.h | 2 | ||||
| -rw-r--r-- | src/live_effects/parameter/parameter.h | 2 | ||||
| -rw-r--r-- | src/live_effects/parameter/path.cpp | 2 | ||||
| -rw-r--r-- | src/live_effects/parameter/path.h | 2 | ||||
| -rw-r--r-- | src/nodepath.cpp | 4 |
8 files changed, 10 insertions, 10 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 0771edb47..c664af049 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -348,7 +348,7 @@ Effect::resetDefaults(SPItem * /*item*/) } void -Effect::setup_notepath(Inkscape::NodePath::Path *np) +Effect::setup_nodepath(Inkscape::NodePath::Path *np) { np->show_helperpath = true; np->helperpath_rgba = 0xff0000ff; diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h index 4c1e4e0eb..535cec0b6 100644 --- a/src/live_effects/effect.h +++ b/src/live_effects/effect.h @@ -78,7 +78,7 @@ public: virtual void resetDefaults(SPItem * item); - virtual void setup_notepath(Inkscape::NodePath::Path *np); + virtual void setup_nodepath(Inkscape::NodePath::Path *np); virtual void transform_multiply(Geom::Matrix const& postmul, bool set); diff --git a/src/live_effects/lpe-gears.cpp b/src/live_effects/lpe-gears.cpp index 85eee66f9..00709f66c 100644 --- a/src/live_effects/lpe-gears.cpp +++ b/src/live_effects/lpe-gears.cpp @@ -255,9 +255,9 @@ LPEGears::doEffect_path (std::vector<Geom::Path> & path_in) } void -LPEGears::setup_notepath(Inkscape::NodePath::Path *np) +LPEGears::setup_nodepath(Inkscape::NodePath::Path *np) { - Effect::setup_notepath(np); + Effect::setup_nodepath(np); np->straight_path = true; } diff --git a/src/live_effects/lpe-gears.h b/src/live_effects/lpe-gears.h index fe210adda..d046c3640 100644 --- a/src/live_effects/lpe-gears.h +++ b/src/live_effects/lpe-gears.h @@ -24,7 +24,7 @@ public: virtual std::vector<Geom::Path> doEffect_path (std::vector<Geom::Path> & path_in); - virtual void setup_notepath(Inkscape::NodePath::Path *np); + virtual void setup_nodepath(Inkscape::NodePath::Path *np); private: ScalarParam teeth; diff --git a/src/live_effects/parameter/parameter.h b/src/live_effects/parameter/parameter.h index bd3fe906e..08af7f928 100644 --- a/src/live_effects/parameter/parameter.h +++ b/src/live_effects/parameter/parameter.h @@ -53,7 +53,7 @@ public: virtual Glib::ustring * param_getTooltip() { return ¶m_tooltip; }; virtual void param_editOncanvas(SPItem * /*item*/, SPDesktop * /*dt*/) {}; - virtual void param_setup_notepath(Inkscape::NodePath::Path */*np*/) {}; + virtual void param_setup_nodepath(Inkscape::NodePath::Path */*np*/) {}; virtual void param_transform_multiply(Geom::Matrix const& /*postmul*/, bool /*set*/) {}; diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp index 53e15c9a5..9bc81d521 100644 --- a/src/live_effects/parameter/path.cpp +++ b/src/live_effects/parameter/path.cpp @@ -142,7 +142,7 @@ PathParam::param_editOncanvas(SPItem * item, SPDesktop * dt) } void -PathParam::param_setup_notepath(Inkscape::NodePath::Path *np) +PathParam::param_setup_nodepath(Inkscape::NodePath::Path *np) { np->show_helperpath = true; np->helperpath_rgba = 0x009000ff; diff --git a/src/live_effects/parameter/path.h b/src/live_effects/parameter/path.h index 696f27a87..a269f3e4f 100644 --- a/src/live_effects/parameter/path.h +++ b/src/live_effects/parameter/path.h @@ -47,7 +47,7 @@ public: void param_set_and_write_new_value (Geom::Piecewise<Geom::D2<Geom::SBasis> > newpath); void param_editOncanvas(SPItem * item, SPDesktop * dt); - void param_setup_notepath(Inkscape::NodePath::Path *np); + void param_setup_nodepath(Inkscape::NodePath::Path *np); virtual void param_transform_multiply(Geom::Matrix const& /*postmul*/, bool /*set*/) {}; diff --git a/src/nodepath.cpp b/src/nodepath.cpp index 4c0727d15..38552f7f7 100644 --- a/src/nodepath.cpp +++ b/src/nodepath.cpp @@ -222,7 +222,7 @@ Inkscape::NodePath::Path *sp_nodepath_new(SPDesktop *desktop, SPObject *object, np->repr_nodetypes_key = g_strconcat(np->repr_key, "-nodetypes", NULL); Inkscape::LivePathEffect::Parameter *lpeparam = LIVEPATHEFFECT(object)->lpe->getParameter(repr_key_in); if (lpeparam) { - lpeparam->param_setup_notepath(np); + lpeparam->param_setup_nodepath(np); } } else { np->repr_nodetypes_key = g_strdup("sodipodi:nodetypes"); @@ -231,7 +231,7 @@ Inkscape::NodePath::Path *sp_nodepath_new(SPDesktop *desktop, SPObject *object, LivePathEffectObject *lpeobj = sp_shape_get_livepatheffectobject(SP_SHAPE(np->object)); if (lpeobj && lpeobj->lpe) { - lpeobj->lpe->setup_notepath(np); + lpeobj->lpe->setup_nodepath(np); } } else { np->repr_key = g_strdup("d"); |
