X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fnodepath.h;h=0216af730952a00c19527a35e89ffdacda4acf07;hb=2ebae4c87c79dc0f626084f038a7710177eaabe9;hp=2b8243f5b612b693055428b87da84df62f65641e;hpb=7e417fb969db6e58d87411bfb9d607b69ec040c9;p=inkscape.git diff --git a/src/nodepath.h b/src/nodepath.h index 2b8243f5b..0216af730 100644 --- a/src/nodepath.h +++ b/src/nodepath.h @@ -228,14 +228,24 @@ class Node { /** The pointer to the nodeside which we are dragging out with Shift */ NodeSide *dragging_out; + + /** Boolean. Am I being dragged? */ + guint is_dragging : 1; }; } // namespace NodePath } // namespace Inkscape +enum { + SCULPT_PROFILE_LINEAR, + SCULPT_PROFILE_BELL, + SCULPT_PROFILE_ELLIPTIC +}; + // Do function documentation in nodepath.cpp Inkscape::NodePath::Path * sp_nodepath_new (SPDesktop * desktop, SPItem * item, bool show_handles); void sp_nodepath_destroy (Inkscape::NodePath::Path * nodepath); +void sp_nodepath_ensure_livarot_path(Inkscape::NodePath::Path *np); void sp_nodepath_deselect (Inkscape::NodePath::Path *nodepath); void sp_nodepath_select_all (Inkscape::NodePath::Path *nodepath, bool invert); void sp_nodepath_select_all_from_subpath(Inkscape::NodePath::Path *nodepath, bool invert); @@ -247,7 +257,7 @@ void restore_nodepath_selection (Inkscape::NodePath::Path *nodepath, GList *r); gboolean nodepath_repr_d_changed (Inkscape::NodePath::Path * np, const char *newd); gboolean nodepath_repr_typestr_changed (Inkscape::NodePath::Path * np, const char *newtypestr); gboolean node_key (GdkEvent * event); -void sp_nodepath_update_repr(Inkscape::NodePath::Path *np); +void sp_nodepath_update_repr(Inkscape::NodePath::Path *np, const gchar *annotation); void sp_nodepath_update_statusbar (Inkscape::NodePath::Path *nodepath); void sp_nodepath_selected_align(Inkscape::NodePath::Path *nodepath, NR::Dim2 axis); void sp_nodepath_selected_distribute(Inkscape::NodePath::Path *nodepath, NR::Dim2 axis);