summaryrefslogtreecommitdiffstats
path: root/src/context-fns.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-08-30 21:26:28 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-08-30 21:26:28 +0000
commit5d661e8a68adf3abf311498ae1d756f1eafc7497 (patch)
tree4ba38edb3f5b70ce7a0f417253d0e2838bd9d2f2 /src/context-fns.h
parentNR => Geom for arc-context (diff)
downloadinkscape-5d661e8a68adf3abf311498ae1d756f1eafc7497.tar.gz
inkscape-5d661e8a68adf3abf311498ae1d756f1eafc7497.zip
NR => Geom for context-fns
(bzr r6733)
Diffstat (limited to 'src/context-fns.h')
-rw-r--r--src/context-fns.h24
1 files changed, 20 insertions, 4 deletions
diff --git a/src/context-fns.h b/src/context-fns.h
index 95574dd76..794f16c39 100644
--- a/src/context-fns.h
+++ b/src/context-fns.h
@@ -1,5 +1,19 @@
+#ifndef SEEN_CONTEXT_FNS_H
+#define SEEN_CONTEXT_FNS_H
+
+/*
+ * <description>
+ *
+ * Authors:
+ *
+ * Copyright (C)
+ *
+ * Released under GNU GPL, read the file 'COPYING' for more information
+ */
+
#include <gdk/gdkevents.h>
-#include "libnr/nr-rect.h"
+#include <2geom/forward.h>
+
struct SPDesktop;
struct SPItem;
@@ -13,12 +27,14 @@ class MessageStack;
extern bool have_viable_layer(SPDesktop *desktop, MessageContext *message);
extern bool have_viable_layer(SPDesktop *desktop, MessageStack *message);
-::NR::Rect snap_rectangular_box(SPDesktop const *desktop, SPItem *item,
- NR::Point const &pt, NR::Point const &center, int state);
-NR::Point setup_for_drag_start(SPDesktop *desktop, SPEventContext* ec, GdkEvent *ev);
+Geom::Rect snap_rectangular_box(SPDesktop const *desktop, SPItem *item,
+ Geom::Point const &pt, Geom::Point const &center, int state);
+Geom::Point setup_for_drag_start(SPDesktop *desktop, SPEventContext* ec, GdkEvent *ev);
}
+#endif // !SEEN_CONTEXT_FNS_H
+
/*
Local Variables:
mode:c++