Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
149:3dade4b025b7 | 150:b1a3a9400284 |
---|---|
97 bool m_centreLineVisible; | 97 bool m_centreLineVisible; |
98 size_t m_selectionStartFrame; | 98 size_t m_selectionStartFrame; |
99 Selection m_editingSelection; | 99 Selection m_editingSelection; |
100 int m_editingSelectionEdge; | 100 int m_editingSelectionEdge; |
101 | 101 |
102 enum DragMode { | |
103 UnresolvedDrag, | |
104 VerticalDrag, | |
105 HorizontalDrag, | |
106 FreeDrag | |
107 }; | |
108 DragMode m_dragMode; | |
109 | |
102 QWidget *m_headsUpDisplay; | 110 QWidget *m_headsUpDisplay; |
103 Thumbwheel *m_hthumb; | 111 Thumbwheel *m_hthumb; |
104 Thumbwheel *m_vthumb; | 112 Thumbwheel *m_vthumb; |
105 }; | 113 }; |
106 | 114 |