summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/node.h
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2012-05-04 09:35:59 +0000
committerJon A. Cruz <jon@joncruz.org>2012-05-04 09:35:59 +0000
commit3b72e337ab1a812319a9557adcd8fc40c2f36bb7 (patch)
treea64394c27307b434b03a1d09701df516b7150e97 /src/ui/tool/node.h
parentSyntax of null pointer dereference checking (diff)
downloadinkscape-3b72e337ab1a812319a9557adcd8fc40c2f36bb7.tar.gz
inkscape-3b72e337ab1a812319a9557adcd8fc40c2f36bb7.zip
C++ification of SPCtrlLine in preparation of visibility improvements.
(bzr r11321)
Diffstat (limited to 'src/ui/tool/node.h')
-rw-r--r--src/ui/tool/node.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/tool/node.h b/src/ui/tool/node.h
index 94b67da59..f2e31e018 100644
--- a/src/ui/tool/node.h
+++ b/src/ui/tool/node.h
@@ -22,6 +22,7 @@
#include "snapped-point.h"
#include "ui/tool/node-types.h"
+struct SPCtrlLine;
namespace Inkscape {
namespace UI {
@@ -113,7 +114,7 @@ private:
inline PathManipulator &_pm();
Node *_parent; // the handle's lifetime does not extend beyond that of the parent node,
// so a naked pointer is OK and allows setting it during Node's construction
- SPCanvasItem *_handle_line;
+ SPCtrlLine *_handle_line;
bool _degenerate; // True if the handle is retracted, i.e. has zero length. This is used often internally so it makes sense to cache this
static Geom::Point _saved_other_pos;