Code

Fix change in revision 9947 to be consistent with rest of the codebase.
[inkscape.git] / src / dropper-context.h
index 80b25ad2689642156414e5920068af26b450d6e1..6f8b60b3469451572452792ab3825e687d635698 100644 (file)
@@ -12,8 +12,6 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
-#include <libnr/nr-point.h>
-
 #include "display/display-forward.h"
 #include "event-context.h"
 
@@ -30,21 +28,22 @@ enum {
 };
 
 struct SPDropperContext {
-       SPEventContext event_context;
+    SPEventContext event_context;
 
-       unsigned int dragging : 1;
+    unsigned int dragging : 1;
 
-       SPCanvasItem *area;
-       NR::Point centre;
+       SPCanvasItem *grabbed;
+    SPCanvasItem *area;
+    Geom::Point centre;
 
-       double R;
-       double G;
-       double B;
-       double alpha;
+    double R;
+    double G;
+    double B;
+    double alpha;
 };
 
 struct SPDropperContextClass {
-       SPEventContextClass parent_class;
+    SPEventContextClass parent_class;
 };
 
 GType sp_dropper_context_get_type (void);
@@ -52,3 +51,14 @@ GType sp_dropper_context_get_type (void);
 guint32 sp_dropper_context_get_color(SPEventContext *ec);
 
 #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:fileencoding=utf-8:textwidth=99 :