diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-11-07 20:44:00 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-11-07 20:44:00 +0000 |
| commit | 55b451bf382e0c3d5ed8728e42fbb535acfa8a33 (patch) | |
| tree | 094d9faca06cfffc89a872732db4ac3ef60508d9 /src/draw-anchor.h | |
| parent | Fix for Bug #1247985 (Incorrect implementation of plural forms). (diff) | |
| download | inkscape-55b451bf382e0c3d5ed8728e42fbb535acfa8a33.tar.gz inkscape-55b451bf382e0c3d5ed8728e42fbb535acfa8a33.zip | |
First step of moving tools into appropriate namespaces.
(bzr r12782)
Diffstat (limited to 'src/draw-anchor.h')
| -rw-r--r-- | src/draw-anchor.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/draw-anchor.h b/src/draw-anchor.h index 1ca2b9888..2312c6c32 100644 --- a/src/draw-anchor.h +++ b/src/draw-anchor.h @@ -8,14 +8,23 @@ #include <glib.h> #include <2geom/point.h> +namespace Inkscape { +namespace UI { +namespace Tools { + class SPDrawContext; + +} +} +} + class SPCurve; struct SPCanvasItem; /// The drawing anchor. /// \todo Make this a regular knot, this will allow to set statusbar tips. struct SPDrawAnchor { - SPDrawContext *dc; + Inkscape::UI::Tools::SPDrawContext *dc; SPCurve *curve; guint start : 1; guint active : 1; @@ -24,7 +33,7 @@ struct SPDrawAnchor { }; -SPDrawAnchor *sp_draw_anchor_new(SPDrawContext *dc, SPCurve *curve, gboolean start, +SPDrawAnchor *sp_draw_anchor_new(Inkscape::UI::Tools::SPDrawContext *dc, SPCurve *curve, gboolean start, Geom::Point delta); SPDrawAnchor *sp_draw_anchor_destroy(SPDrawAnchor *anchor); SPDrawAnchor *sp_draw_anchor_test(SPDrawAnchor *anchor, Geom::Point w, gboolean activate); |
