Code

use touchpath selection when rubberbanding with Alt; do move-selected with Alt only...
[inkscape.git] / src / snap.h
index 8345da40d1d8805503144c6af02b5120020bea96..09c527c749114552f59e85d4ab51699cf337345f 100644 (file)
@@ -3,13 +3,14 @@
 
 /**
  * \file snap.h
- * \brief Various snapping methods.
+ * \brief SnapManager class.
  *
  * Authors:
  *   Lauris Kaplinski <lauris@kaplinski.com>
  *   Frank Felfe <innerspace@iname.com>
  *   Carl Hetherington <inkscape@carlh.net>
  *
+ * Copyright (C) 2006      Johan Engelen <johan@shouraizou.nl>
  * Copyright (C) 2000-2002 Lauris Kaplinski
  *
  * Released under GNU GPL, read the file 'COPYING' for more information
@@ -99,12 +100,16 @@ public:
                                             NR::Point const &o,
                                             NR::Dim2 d) const;
 
-    Inkscape::GridSnapper grid;     ///< grid snapper
-    Inkscape::GuideSnapper guide;   ///< guide snapper
-    Inkscape::ObjectSnapper object; ///< snapper to other objects
+    Inkscape::GridSnapper grid;        ///< grid snapper
+    Inkscape::GuideSnapper guide;      ///< guide snapper
+    Inkscape::ObjectSnapper object;    ///< snapper to other objects
 
     typedef std::list<const Inkscape::Snapper*> SnapperList;
     SnapperList getSnappers() const;
+    SnapperList gridSnappers;          ///< List of grid snappers to enable multiple grids
+
+protected:
+    SPNamedView const *_named_view;
 
 private: