diff options
| author | John Bintz <me@johnbintz.com> | 2006-11-05 18:41:15 +0000 |
|---|---|---|
| committer | johncoswell <johncoswell@users.sourceforge.net> | 2006-11-05 18:41:15 +0000 |
| commit | 863ec3c3d49347fc2cdede99fcc025dae1a07417 (patch) | |
| tree | d9ef50254faf028cf5722f980f8c38c7de45d51b /src/node-context.h | |
| parent | enable inkboard (diff) | |
| download | inkscape-863ec3c3d49347fc2cdede99fcc025dae1a07417.tar.gz inkscape-863ec3c3d49347fc2cdede99fcc025dae1a07417.zip | |
When canvas cannot update quickly, ensure that nodes being dragged will stay selected.
(bzr r1904)
Diffstat (limited to 'src/node-context.h')
| -rw-r--r-- | src/node-context.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/node-context.h b/src/node-context.h index a9b4beb07..d5067a66a 100644 --- a/src/node-context.h +++ b/src/node-context.h @@ -24,6 +24,10 @@ namespace Inkscape { class Selection; } #define SP_IS_NODE_CONTEXT(obj) (GTK_CHECK_TYPE ((obj), SP_TYPE_NODE_CONTEXT)) #define SP_IS_NODE_CONTEXT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), SP_TYPE_NODE_CONTEXT)) +enum { SP_NODE_CONTEXT_INACTIVE, + SP_NODE_CONTEXT_NODE_DRAGGING, + SP_NODE_CONTEXT_RUBBERBAND_DRAGGING }; + class SPNodeContext; class SPNodeContextClass; @@ -54,6 +58,8 @@ struct SPNodeContext { bool cursor_drag; bool added_node; + + unsigned int current_state; }; struct SPNodeContextClass { |
