Code

fix typo notepath => nodepath
authorjohanengelen <johanengelen@users.sourceforge.net>
Wed, 2 Jan 2008 18:23:25 +0000 (18:23 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Wed, 2 Jan 2008 18:23:25 +0000 (18:23 +0000)
src/live_effects/effect.cpp
src/live_effects/effect.h
src/live_effects/lpe-gears.cpp
src/live_effects/lpe-gears.h
src/live_effects/parameter/parameter.h
src/live_effects/parameter/path.cpp
src/live_effects/parameter/path.h
src/nodepath.cpp

index 0771edb4761b67fc1daa4b6861f1a88200d1dd3d..c664af049ef5ef60b1dfec77b101d2b690e83a1e 100644 (file)
@@ -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;
index 4c1e4e0eb1a955d71b3e2e8d07ba4cdba8f33c14..535cec0b6c12ea92830e723b3a7ae05b88de31bc 100644 (file)
@@ -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);
 
index 85eee66f9cbd3710d416096dbcfe807926e18554..00709f66cb3c2f69a5e0940bb307153771cf85fa 100644 (file)
@@ -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;
 }
 
index fe210addac6fbb5a35497e66caf8bcfb2ee1b1f6..d046c3640df9d7ab2d9b0cb99e58a02f51c4ce91 100644 (file)
@@ -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;
index bd3fe906e03b903951db3509d8c5c744cb1d6395..08af7f928b6c2f4f99c38123d55a824f58e8d75b 100644 (file)
@@ -53,7 +53,7 @@ public:
     virtual Glib::ustring * param_getTooltip() { return &param_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*/) {};
 
index 53e15c9a5dc3b65eadb0a35fdaf94871c9693a13..9bc81d52111a586524d77e397cbc3c69cce68c9d 100644 (file)
@@ -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;
index 696f27a873045bb55563814aab926d5a2679460e..a269f3e4f26bf2a034c6034dba01b65e7c819d1d 100644 (file)
@@ -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*/) {};
 
index 4c0727d15fae3baf1c2fd69cc67b47713e53df3b..38552f7f785ee95567b27b1ce4fba0faf74ecd12 100644 (file)
@@ -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");