summaryrefslogtreecommitdiffstats
path: root/src/widgets/desktop-widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/desktop-widget.h')
-rw-r--r--src/widgets/desktop-widget.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/widgets/desktop-widget.h b/src/widgets/desktop-widget.h
index 6ad430fa3..fad4ffe2e 100644
--- a/src/widgets/desktop-widget.h
+++ b/src/widgets/desktop-widget.h
@@ -84,6 +84,15 @@ struct SPDesktopWidget {
static void dispose(GObject *object);
private:
+ // Flags for ruler event handling
+ bool _ruler_clicked; ///< True if the ruler has been clicked
+ bool _ruler_dragged; ///< True if a drag on the ruler is occurring
+
+ SPCanvasItem *_active_guide; ///< The guide currently being handled during a ruler event
+ Geom::Point _normal; ///< Normal to the guide currently being handled during ruler event
+ int _xp; ///< x coordinate for start of drag
+ int _yp; ///< y coordinate for start of drag
+
// The root vbox of the window layout.
Gtk::Box *_vbox;