summaryrefslogtreecommitdiffstats
path: root/src/dropper-context.h
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-09-18 17:48:42 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-09-18 17:48:42 +0000
commit07a2c5b0db916ac9e5dee3bcbafcb12d8e767fa8 (patch)
tree3a4c8c7f4f8de2878adbe5eabaf75460d35b8bcb /src/dropper-context.h
parentNR ==> Geom conversion in sp-canvas (diff)
downloadinkscape-07a2c5b0db916ac9e5dee3bcbafcb12d8e767fa8.tar.gz
inkscape-07a2c5b0db916ac9e5dee3bcbafcb12d8e767fa8.zip
Next roud of NR ==> Geom conversion
(bzr r6839)
Diffstat (limited to 'src/dropper-context.h')
-rw-r--r--src/dropper-context.h31
1 files changed, 20 insertions, 11 deletions
diff --git a/src/dropper-context.h b/src/dropper-context.h
index 80b25ad26..678ab6b47 100644
--- a/src/dropper-context.h
+++ b/src/dropper-context.h
@@ -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,21 @@ enum {
};
struct SPDropperContext {
- SPEventContext event_context;
+ SPEventContext event_context;
- unsigned int dragging : 1;
+ unsigned int dragging : 1;
- SPCanvasItem *area;
- NR::Point centre;
+ 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 +50,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:encoding=utf-8:textwidth=99 :