Code

Patch by Tavmjong for 451588
[inkscape.git] / src / sp-namedview.h
index f79a0fb429ac0de0be08432a9409f5e20cd2d18f..048096d8c0096e569761f332afb9f0d51be03425 100644 (file)
@@ -21,7 +21,6 @@
 
 #include "helper/helper-forward.h"
 #include "sp-object-group.h"
-#include "libnr/nr-point.h"
 #include "sp-metric.h"
 #include "snap.h"
 
@@ -48,6 +47,7 @@ struct SPNamedView : public SPObjectGroup {
     gint window_height;
     gint window_x;
     gint window_y;
+    gint window_maximized;
 
     SnapManager snap_manager;
     GSList * grids;
@@ -55,15 +55,6 @@ struct SPNamedView : public SPObjectGroup {
 
     SPUnit const *doc_units;
 
-    SPUnit const *gridtoleranceunit;
-    gdouble gridtolerance;
-
-    SPUnit const *guidetoleranceunit;
-    gdouble guidetolerance;
-
-    SPUnit const *objecttoleranceunit;
-    gdouble objecttolerance;
-
     GQuark default_layer_id;
 
     double connector_spacing;
@@ -86,6 +77,9 @@ struct SPNamedView : public SPObjectGroup {
     guint getViewCount();
     GSList const *getViewList() const;
     SPMetric getDefaultMetric() const;
+
+    void translateGuides(Geom::Translate const &translation);
+    void scrollAllDesktops(double dx, double dy, bool is_scrolling);
 };
 
 struct SPNamedViewClass {