diff view/Pane.h @ 150:b1a3a9400284

* Add a bit of resistance to pane dragging so as to make it harder to inadvertently drag in the other axis from the one you intended
author Chris Cannam
date Fri, 22 Sep 2006 16:46:10 +0000
parents a859b87162ca
children d0b95a8cac96
line wrap: on
line diff
--- a/view/Pane.h	Fri Sep 22 16:12:23 2006 +0000
+++ b/view/Pane.h	Fri Sep 22 16:46:10 2006 +0000
@@ -99,6 +99,14 @@
     Selection m_editingSelection;
     int m_editingSelectionEdge;
 
+    enum DragMode {
+        UnresolvedDrag,
+        VerticalDrag,
+        HorizontalDrag,
+        FreeDrag
+    };
+    DragMode m_dragMode;
+
     QWidget *m_headsUpDisplay;
     Thumbwheel *m_hthumb;
     Thumbwheel *m_vthumb;