diff view/Pane.h @ 262:dae479593572

* more measurement tool stuff
author Chris Cannam
date Thu, 14 Jun 2007 17:03:16 +0000
parents 11021509c4eb
children aee39d8c0b83
line wrap: on
line diff
--- a/view/Pane.h	Thu Jun 14 16:28:27 2007 +0000
+++ b/view/Pane.h	Thu Jun 14 17:03:16 2007 +0000
@@ -124,9 +124,13 @@
     QPoint m_identifyPoint;
     QPoint m_clickPos;
     QPoint m_mousePos;
+    QPoint m_measureStart;
+    QPoint m_measureEnd;
     bool m_clickedInRange;
     bool m_shiftPressed;
     bool m_ctrlPressed;
+    bool m_haveMeasureRect;
+    size_t m_measureCentreFrame;
     bool m_navigating;
     bool m_resizing;
     size_t m_dragCentreFrame;
@@ -150,6 +154,10 @@
     Thumbwheel *m_hthumb;
     Thumbwheel *m_vthumb;
     NotifyingPushButton *m_reset;
+
+    static QCursor m_measureCursor1;
+    static QCursor m_measureCursor2;
+    static bool m_measureCursorsCreated;
 };
 
 #endif