index bedeb492b74f276fefbd4e8e2381ae52ab2dab9b..1d291bcdf62265877049489a70c7fe7da8f1926f 100644 (file)
-#ifndef INKSCAPE_DISPLAY_SNAP_INDICATOR_H\r
-#define INKSCAPE_DISPLAY_SNAP_INDICATOR_H\r
-\r
-/** \file\r
- * Provides a class that shows a temporary indicator on the canvas of where the snap was, and what kind of snap\r
- *\r
- * Authors:\r
- * Johan Engelen\r
- *\r
- * Copyright (C) Johan Engelen 2008 <j.b.c.engelen@utwente.nl>\r
- *\r
- * Released under GNU GPL, read the file 'COPYING' for more information\r
- */\r
-\r
-#include "forward.h"\r
-#include "display/display-forward.h"\r
-#include <2geom/point.h>\r
-\r
-namespace Inkscape {\r
-namespace Display {\r
-\r
-class SnapIndicator {\r
-public:\r
- SnapIndicator(SPDesktop *desktop);\r
- virtual ~SnapIndicator();\r
-\r
- void set_new_snappoint(Geom::Point p);\r
- void remove_snappoint();\r
-\r
-protected:\r
- TemporaryItem * tempitem;\r
- SPDesktop *desktop;\r
-\r
-private:\r
- SnapIndicator(const SnapIndicator&);\r
- SnapIndicator& operator=(const SnapIndicator&);\r
-};\r
-\r
-} //namespace Display\r
-} //namespace Inkscape\r
-\r
-#endif\r
-\r
-/*\r
- Local Variables:\r
- mode:c++\r
- c-file-style:"stroustrup"\r
- c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))\r
- indent-tabs-mode:nil\r
- fill-column:99\r
- End:\r
-*/\r
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :\r
+#ifndef INKSCAPE_DISPLAY_SNAP_INDICATOR_H
+#define INKSCAPE_DISPLAY_SNAP_INDICATOR_H
+
+/** \file
+ * Provides a class that shows a temporary indicator on the canvas of where the snap was, and what kind of snap
+ *
+ * Authors:
+ * Johan Engelen
+ * Diederik van Lierop
+ *
+ * Copyright (C) Johan Engelen 2008 <j.b.c.engelen@utwente.nl>
+ * Copyright (C) Diederik van Lierop 2008 <mail@diedenrezi.nl>
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information
+ */
+
+#include "forward.h"
+#include "display/display-forward.h"
+#include "snapped-point.h"
+
+namespace Inkscape {
+namespace Display {
+
+class SnapIndicator {
+public:
+ SnapIndicator(SPDesktop *desktop);
+ virtual ~SnapIndicator();
+
+ void set_new_snappoint(Inkscape::SnappedPoint const p);
+ void remove_snappoint();
+
+protected:
+ TemporaryItem *_tempitem;
+ SPDesktop *_desktop;
+
+private:
+ SnapIndicator(const SnapIndicator&);
+ SnapIndicator& operator=(const SnapIndicator&);
+};
+
+} //namespace Display
+} //namespace Inkscape
+
+#endif
+
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :