diff --git a/src/sp-namedview.h b/src/sp-namedview.h
index f96207794ea7215ebb43afa025af7b0efa9f3d27..54291413e078d05a561a99a31dd01992880e53f7 100644 (file)
--- a/src/sp-namedview.h
+++ b/src/sp-namedview.h
#include "sp-object-group.h"
#include "libnr/nr-point.h"
#include "sp-metric.h"
#include "sp-object-group.h"
#include "libnr/nr-point.h"
#include "sp-metric.h"
-#include "grid-snapper.h"
-#include "guide-snapper.h"
-#include "object-snapper.h"
-
+#include "snap.h"
enum {
SP_BORDER_LAYER_BOTTOM,
enum {
SP_BORDER_LAYER_BOTTOM,
unsigned int showpageshadow : 1;
unsigned int borderlayer : 2;
unsigned int showpageshadow : 1;
unsigned int borderlayer : 2;
- int snap_grid_bbox;
- int snap_grid_point;
- int snap_guide_bbox;
- int snap_guide_point;
- int snap_object_bbox;
- int snap_object_point;
- int snap_object_paths;
- int snap_object_nodes;
-
double zoom;
double cx;
double cy;
double zoom;
double cx;
double cy;
gint window_x;
gint window_y;
gint window_x;
gint window_y;
- Inkscape::GridSnapper grid_snapper;
- Inkscape::GuideSnapper guide_snapper;
- Inkscape::ObjectSnapper object_snapper;
+ SnapManager snap_manager;
SPUnit const *gridunit;
/* Grid data is in points regardless of unit */
SPUnit const *gridunit;
/* Grid data is in points regardless of unit */
bool has_abs_tolerance;
GQuark default_layer_id;
bool has_abs_tolerance;
GQuark default_layer_id;
+
+ double connector_spacing;
guint32 gridcolor;
guint32 gridempcolor;
guint32 gridcolor;
guint32 gridempcolor;
guint getViewCount();
GSList const *getViewList() const;
SPMetric getDefaultMetric() const;
guint getViewCount();
GSList const *getViewList() const;
SPMetric getDefaultMetric() const;
-
- typedef std::list<const Inkscape::Snapper *> SnapperList;
- SnapperList getSnappers() const;
};
struct SPNamedViewClass {
};
struct SPNamedViewClass {