summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1a47b2c)
raw | patch | inline | side by side (parent: 1a47b2c)
author | cilix42 <cilix42@users.sourceforge.net> | |
Mon, 16 Jun 2008 16:16:19 +0000 (16:16 +0000) | ||
committer | cilix42 <cilix42@users.sourceforge.net> | |
Mon, 16 Jun 2008 16:16:19 +0000 (16:16 +0000) |
src/pen-context.cpp | patch | blob | history | |
src/pen-context.h | patch | blob | history |
diff --git a/src/pen-context.cpp b/src/pen-context.cpp
index 56594bb6dda102a1d39233a72da3ec5132bfba91..1a9f3e39fa5925e30717736ea32dcdd687598278 100644 (file)
--- a/src/pen-context.cpp
+++ b/src/pen-context.cpp
pc->events_disabled--;
}
+void
+sp_pen_context_wait_for_LPE_mouse_clicks(SPPenContext *pc, Inkscape::LivePathEffect::EffectType effect_type,
+ unsigned int num_clicks, bool use_polylines)
+{
+ pc->expecting_clicks_for_LPE = num_clicks;
+ pc->polylines_only = use_polylines;
+ pc->waiting_LPE_type = effect_type;
+}
+
/*
Local Variables:
mode:c++
diff --git a/src/pen-context.h b/src/pen-context.h
index 68a2665e0dd21d1f1aa619a19a1f41247e058f62..7c189934cf2185617b7c1f40a13c598e336c363e 100644 (file)
--- a/src/pen-context.h
+++ b/src/pen-context.h
pc->waiting_LPE_type != Inkscape::LivePathEffect::INVALID_LPE);
}
+void sp_pen_context_wait_for_LPE_mouse_clicks(SPPenContext *pc, Inkscape::LivePathEffect::EffectType effect_type,
+ unsigned int num_clicks, bool use_polylines = true);
#endif /* !SEEN_PEN_CONTEXT_H */