summaryrefslogtreecommitdiffstats
path: root/src/lpe-tool-context.h
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-08-18 00:37:16 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-08-18 00:37:16 +0000
commit3ae1dd35f03c85e1f5200a7dd481d87509b040b8 (patch)
tree911cce3de670ee0c90960e18cbe2eade2fa79547 /src/lpe-tool-context.h
parentAdd lpe-line_segment to LPETool toolbar (diff)
downloadinkscape-3ae1dd35f03c85e1f5200a7dd481d87509b040b8.tar.gz
inkscape-3ae1dd35f03c85e1f5200a7dd481d87509b040b8.zip
At the moment mouse click starts waiting for the activated LPE and nothing else (editing is not possible; no toolbar controls yet)
(bzr r6654)
Diffstat (limited to 'src/lpe-tool-context.h')
-rw-r--r--src/lpe-tool-context.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/lpe-tool-context.h b/src/lpe-tool-context.h
index a5f849c7a..ea21ecd51 100644
--- a/src/lpe-tool-context.h
+++ b/src/lpe-tool-context.h
@@ -6,7 +6,6 @@
*
* Authors:
* Maximilian Albert <maximilian.albert@gmail.com>
- * Lauris Kaplinski <lauris@kaplinski.com>
*
* Copyright (C) 1998 The Free Software Foundation
* Copyright (C) 1999-2002 authors
@@ -16,7 +15,6 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-//#include "event-context.h"
#include "pen-context.h"
#define SP_TYPE_LPETOOL_CONTEXT (sp_lpetool_context_get_type())
@@ -28,7 +26,18 @@
class SPLPEToolContext;
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[];
+
+enum LPEToolState {
+ LPETOOL_STATE_PEN,
+ LPETOOL_STATE_NODE
+};
+
struct SPLPEToolContext : public SPPenContext {
+ LPEToolState tool_state;
};
struct SPLPEToolContextClass : public SPEventContextClass{};