summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/control-point.h
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2012-02-01 02:17:34 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2012-02-01 02:17:34 +0000
commit14625ba1f16c4d181d40358c2fd746e30715cb39 (patch)
tree1fa6c94c4c3284681ebc22a5948d6bd141da2707 /src/ui/tool/control-point.h
parentImplement cancellations of drags with ESC in the node tool (diff)
downloadinkscape-14625ba1f16c4d181d40358c2fd746e30715cb39.tar.gz
inkscape-14625ba1f16c4d181d40358c2fd746e30715cb39.zip
Additional fixes for drag cancellation in the node tool
(bzr r10926)
Diffstat (limited to 'src/ui/tool/control-point.h')
-rw-r--r--src/ui/tool/control-point.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/tool/control-point.h b/src/ui/tool/control-point.h
index 0719370f7..991d9123d 100644
--- a/src/ui/tool/control-point.h
+++ b/src/ui/tool/control-point.h
@@ -158,9 +158,10 @@ protected:
ColorSet *_cset; ///< Colors used to represent the point
State _state;
- static int const _grab_event_mask;
static Geom::Point const &_last_click_event_point() { return _drag_event_origin; }
static Geom::Point const &_last_drag_origin() { return _drag_origin; }
+ static bool _is_drag_cancelled(GdkEventMotion *event);
+ static int const _grab_event_mask;
private:
ControlPoint(ControlPoint const &other);