summaryrefslogtreecommitdiffstats
path: root/src/ui/view/edit-widget.h
diff options
context:
space:
mode:
authorJohn Bintz <me@johnbintz.com>2006-08-13 18:45:40 +0000
committerjohncoswell <johncoswell@users.sourceforge.net>2006-08-13 18:45:40 +0000
commite945f1a347023c8cc50165ed97a2295b85a3e75a (patch)
tree9255eb62c79f091fbbd18426b6592c035b933ebf /src/ui/view/edit-widget.h
parentadded functions to allow update events to process during long-running operations (diff)
downloadinkscape-e945f1a347023c8cc50165ed97a2295b85a3e75a.tar.gz
inkscape-e945f1a347023c8cc50165ed97a2295b85a3e75a.zip
add interface for disabling interaction during long-running operations
(bzr r1596)
Diffstat (limited to 'src/ui/view/edit-widget.h')
-rw-r--r--src/ui/view/edit-widget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/view/edit-widget.h b/src/ui/view/edit-widget.h
index 096137c2a..55a52be4c 100644
--- a/src/ui/view/edit-widget.h
+++ b/src/ui/view/edit-widget.h
@@ -6,7 +6,9 @@
* Bryce W. Harrington <bryce@bryceharrington.org>
* Derek P. Moore <derekm@hackunix.org>
* Ralf Stephan <ralf@ark.in-berlin.de>
+ * John Bintz <jcoswell@coswellproductions.org>
*
+ * Copyright (C) 2006 John Bintz
* Copyright (C) 2004 Bryce Harrington
*
* Released under GNU GPL. Read the file 'COPYING' for more information.
@@ -109,6 +111,8 @@ public:
virtual void destroy();
virtual void requestCanvasUpdate();
virtual void requestCanvasUpdateAndWait();
+ virtual void enableInteraction();
+ virtual void disableInteraction();
virtual void activateDesktop();
virtual void deactivateDesktop();
virtual void viewSetPosition (NR::Point p);
@@ -193,6 +197,7 @@ private:
void onAdjValueChanged();
bool _update_s_f, _update_a_f;
+ unsigned int _interaction_disabled_counter;
sigc::connection _namedview_modified_connection;
};