Code

Fixed icon loading, cacheing and fallback to use stock mechanisms.
[inkscape.git] / src / display / snap-indicator.h
index 0395d400081da696e96021034b26d43098d88714..1d291bcdf62265877049489a70c7fe7da8f1926f 100644 (file)
@@ -6,15 +6,17 @@
  *
  * 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 <2geom/point.h>
+#include "snapped-point.h"
 
 namespace Inkscape {
 namespace Display {
@@ -24,12 +26,12 @@ public:
     SnapIndicator(SPDesktop *desktop);
     virtual ~SnapIndicator();
 
-    void set_new_snappoint(Geom::Point p);
+    void set_new_snappoint(Inkscape::SnappedPoint const p);
     void remove_snappoint();
-
+    
 protected:
-    TemporaryItem * tempitem;
-    SPDesktop *desktop;
+    TemporaryItem *_tempitem;
+    SPDesktop *_desktop;
 
 private:
     SnapIndicator(const SnapIndicator&);