diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2012-02-01 02:17:34 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2012-02-01 02:17:34 +0000 |
| commit | 14625ba1f16c4d181d40358c2fd746e30715cb39 (patch) | |
| tree | 1fa6c94c4c3284681ebc22a5948d6bd141da2707 /src/ui/tool/control-point.h | |
| parent | Implement cancellations of drags with ESC in the node tool (diff) | |
| download | inkscape-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.h | 3 |
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); |
