diff view/Pane.h @ 374:64e84e5efb76 spectrogram-cache-rejig

* Merge from trunk
author Chris Cannam
date Wed, 27 Feb 2008 11:59:42 +0000
parents 4f4f38a11cd2
children 755243c67f59
line wrap: on
line diff
--- a/view/Pane.h	Mon Nov 19 15:50:37 2007 +0000
+++ b/view/Pane.h	Wed Feb 27 11:59:42 2008 +0000
@@ -142,6 +142,8 @@
 
     bool m_navigating;
     bool m_resizing;
+    bool m_editing;
+    bool m_releasing;
     size_t m_dragCentreFrame;
     float m_dragStartMinValue;
     bool m_centreLineVisible;
@@ -158,6 +160,14 @@
     };
     DragMode m_dragMode;
 
+    DragMode updateDragMode(DragMode currentMode,
+                            QPoint origin,
+                            QPoint currentPoint,
+                            bool canMoveHorizontal,
+                            bool canMoveVertical,
+                            bool resistHorizontal,
+                            bool resistVertical);
+
     QWidget *m_headsUpDisplay;
     Panner *m_vpan;
     Thumbwheel *m_hthumb;