Code

Add a warning to sp-object.h to not use some of the new methods
[inkscape.git] / src / dropper-context.h
index f6fdd252363ff9dc410a60ec27c2ace5cf2a2147..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,29 +28,37 @@ 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);
 
-void sp_dropper_context_copy (SPEventContext *ec);
-
-void sp_dropper_c32_color_copy (guint32 c32);
-
-void sp_dropper_c32_color_copy_hex (guint32 c32);
+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 :