summaryrefslogtreecommitdiffstats
path: root/src/display/canvas-grid.h
diff options
context:
space:
mode:
authorMatthew Petroff <matthew@mpetroff.net>2013-07-18 19:02:24 +0000
committerMatthew Petroff <matthew@mpetroff.net>2013-07-18 19:02:24 +0000
commite641b84738df214c63ff67ce1bd2d0b8f6449c2e (patch)
treeb370cccfb98a96d2de81c7f0f429e41c47e49d59 /src/display/canvas-grid.h
parentAdded quantity string parsing. (diff)
downloadinkscape-e641b84738df214c63ff67ce1bd2d0b8f6449c2e.tar.gz
inkscape-e641b84738df214c63ff67ce1bd2d0b8f6449c2e.zip
Ported "display/canvas-grid.*" and "display/canvas-axonomgrid.*".
(bzr r12380.1.25)
Diffstat (limited to 'src/display/canvas-grid.h')
-rw-r--r--src/display/canvas-grid.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/display/canvas-grid.h b/src/display/canvas-grid.h
index 7eaef407f..70b4bf744 100644
--- a/src/display/canvas-grid.h
+++ b/src/display/canvas-grid.h
@@ -28,6 +28,10 @@ namespace XML {
class Node;
}
+namespace Util {
+class Unit;
+}
+
enum GridType {
GRID_RECTANGULAR = 0,
GRID_AXONOMETRIC = 1
@@ -88,7 +92,7 @@ public:
guint32 empcolor; /**< Color for emphasis lines */
gint empspacing; /**< Spacing between emphasis lines */
- SPUnit const* gridunit;
+ Inkscape::Util::Unit const* gridunit;
Inkscape::XML::Node * repr;
SPDocument *doc;