Mercurial > hg > svgui
diff view/Pane.h @ 343:1b6879d03cb6
* Fix #1848191 double clicking on time instants causes move
Also fix tendency for navigate mode to continue navigating even
after button release
author | Chris Cannam |
---|---|
date | Tue, 18 Dec 2007 10:35:55 +0000 |
parents | 4f4f38a11cd2 |
children | 755243c67f59 |
line wrap: on
line diff
--- a/view/Pane.h Mon Dec 17 12:32:28 2007 +0000 +++ b/view/Pane.h Tue Dec 18 10:35:55 2007 +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;