Code

Implement keyboard shortcuts for single handle adjustments.
[inkscape.git] / src / ui / tool / multi-path-manipulator.h
index 4fbbf1b054415dd798f60c2616e843285b7e5c2a..181ae6d1d6c32643447b916d79b0cb609362fe5a 100644 (file)
@@ -16,6 +16,7 @@
 #include "forward.h"
 #include "ui/tool/commit-events.h"
 #include "ui/tool/manipulator.h"
+#include "ui/tool/modifier-tracker.h"
 #include "ui/tool/node.h"
 #include "ui/tool/node-types.h"
 #include "ui/tool/shape-record.h"
@@ -45,13 +46,8 @@ public:
     void cleanup();
 
     void selectSubpaths();
-    void selectAll();
-    void selectArea(Geom::Rect const &area, bool take);
     void shiftSelection(int dir);
-    void spatialGrow(NodeList::iterator center, int dir);
-    void invertSelection();
     void invertSelectionInSubpaths();
-    void deselect();
 
     void setNodeType(NodeType t);
     void setSegmentType(SegmentType t);
@@ -60,7 +56,7 @@ public:
     void joinNodes();
     void breakNodes();
     void deleteNodes(bool keep_shape = true);
-    void joinSegment();
+    void joinSegments();
     void deleteSegments();
     void alignNodes(Geom::Dim2 d);
     void distributeNodes(Geom::Dim2 d);
@@ -70,6 +66,8 @@ public:
     void showOutline(bool show);
     void showHandles(bool show);
     void showPathDirection(bool show);
+    void setLiveOutline(bool set);
+    void setLiveObjects(bool set);
     void updateOutlineColors();
     
     sigc::signal<void> signal_coords_changed; /// Emitted whenever the coordinates
@@ -113,9 +111,12 @@ public:
     PathSharedData const &_path_data;
 private:
     sigc::connection &_changed;
+    ModifierTracker _tracker;
     bool _show_handles;
     bool _show_outline;
     bool _show_path_direction;
+    bool _live_outline;
+    bool _live_objects;
 
     friend class PathManipulator;
 };