summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2f8a505)
raw | patch | inline | side by side (parent: 2f8a505)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 13 Feb 2007 18:13:26 +0000 (18:13 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 13 Feb 2007 18:13:26 +0000 (18:13 +0000) |
src/shape-editor.cpp | patch | blob | history | |
src/shape-editor.h | patch | blob | history |
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index 19b9ea64dc18239d2fc12969bbed9f29a5050ae9..491037bd15ec41caacdf143891187e1580334df3 100644 (file)
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
}
}
-void ShapeEditor::set_node_type(Inkscape::NodePath::NodeType type) {
- sp_node_selected_set_type(type); // FIXME fix that function by removing nodepath_current lookup, and pass it this->nodepath instead (needs fixing verbs/buttons first)
+void ShapeEditor::set_node_type(int type) {
+ sp_node_selected_set_type((Inkscape::NodePath::NodeType) type); // FIXME fix that function by removing nodepath_current lookup, and pass it this->nodepath instead (needs fixing verbs/buttons first)
}
void ShapeEditor::break_at_nodes() {
diff --git a/src/shape-editor.h b/src/shape-editor.h
index bd93668f77bcab9762c4d30da481d9346c7d5358..37117331bf8d8e572879af0b17bf7aaabfb13068 100644 (file)
--- a/src/shape-editor.h
+++ b/src/shape-editor.h
namespace Inkscape {
namespace NodePath {
class Path;
-typedef enum NodeType;
}
}
void delete_nodes();
void delete_nodes_preserving_shape();
- void set_node_type(Inkscape::NodePath::NodeType type);
+ void set_node_type(int type);
void break_at_nodes();
void join_nodes();