Code

Split SPCanvasItem and SPCanvasGroup to individual .h files. Removed forward header.
[inkscape.git] / src / live_effects / effect.h
index ae42e358c2ef3e03bb1fc5d7e48d8d2ef89fdb70..6acba000ce5f9376dc7802190dfcaf37f68a1959 100644 (file)
  */
 
 
-#include "display/display-forward.h"
 #include <map>
 #include <glibmm/ustring.h>
-#include <2geom/path.h>
 #include <2geom/forward.h>
 #include "ui/widget/registry.h"
-#include "sp-lpe-item.h"
-#include "knotholder.h"
 #include "parameter/bool.h"
 #include "effect-enum.h"
 
@@ -28,6 +24,11 @@ struct SPDesktop;
 struct SPItem;
 class SPNodeContext;
 struct LivePathEffectObject;
+class SPLPEItem;
+class KnotHolder;
+class KnotHolderEntity;
+class SPPath;
+struct SPCurve;
 
 namespace Gtk {
     class Widget;
@@ -85,10 +86,11 @@ public:
 
     virtual Gtk::Widget * newWidget(Gtk::Tooltips * tooltips);
 
+    /**
+     * Sets all parameters to their default values and writes them to SVG.
+     */
     virtual void resetDefaults(SPItem * item);
 
-    virtual void setup_nodepath(Inkscape::NodePath::Path *np);
-
     /// /todo: is this method really necessary? it causes UI inconsistensies... (johan)
     virtual void transform_multiply(Geom::Matrix const& postmul, bool set);
 
@@ -146,9 +148,6 @@ protected:
     std::vector<std::pair<KnotHolderEntity*, const char*> > kh_entity_vector;
     int oncanvasedit_it;
     BoolParam is_visible;
-    BoolParam deactivate_knotholder; // the user can use this to deactivate knotholders (for
-                                     // convenience, because they may interfere with node handles
-                                     // during editing); this is probably only temporary
 
     bool show_orig_path; // set this to true in derived effects to automatically have the original
                          // path displayed as helperpath