Code

Connector tool: make connectors avoid the convex hull of shapes.
[inkscape.git] / src / lpe-tool-context.h
index 2c3e6e36f5ea1df7930e8c3bd5f6c28f8725007d..8a52ba97c70308ce7ef4a910bab4cf5e0eababc0 100644 (file)
@@ -30,7 +30,12 @@ class SPLPEToolContextClass;
 /* This is the list of subtools from which the toolbar of the LPETool is built automatically */
 extern const int num_subtools;
 
-extern Inkscape::LivePathEffect::EffectType lpesubtools[];
+struct SubtoolEntry {
+    Inkscape::LivePathEffect::EffectType type;
+    gchar const *icon_name;
+};
+
+extern SubtoolEntry lpesubtools[];
 
 enum LPEToolState {
     LPETOOL_STATE_PEN,
@@ -50,6 +55,8 @@ struct SPLPEToolContext : public SPPenContext {
 
     std::map<SPPath *, SPCanvasItem*> *measuring_items;
 
+    Inkscape::MessageContext *_lpetool_message_context;
+
     sigc::connection sel_changed_connection;
     sigc::connection sel_modified_connection;
 };