comparison widgets/Panner.h @ 15:4d5d9aba406b

* Fix update and play limits for play-selection mode when not looping * Fix playback in loop mode when no selection -- but the GUI update for this is still wrong on the flyback * Various fixes and improvements to making selections, particularly during playback * Draw selection under non-opaque non-scrollable layers, so as to improve cacheing * Show selection limits as text when drawing selection * Allow user to find missing audio files when loading session * Cross-fade selections when in play-selection mode -- mostly. We don't cross-fade on a processing block boundary, and unfortunately with short selections the selection boundary is quite likely to coincide with a block boundary.
author Chris Cannam
date Wed, 25 Jan 2006 17:46:28 +0000
parents 37b110168acf
children 38fe0ea9e46e
comparison
equal deleted inserted replaced
14:aa37f84ab70a 15:4d5d9aba406b
44 protected: 44 protected:
45 virtual void paintEvent(QPaintEvent *e); 45 virtual void paintEvent(QPaintEvent *e);
46 virtual void mousePressEvent(QMouseEvent *e); 46 virtual void mousePressEvent(QMouseEvent *e);
47 virtual void mouseReleaseEvent(QMouseEvent *e); 47 virtual void mouseReleaseEvent(QMouseEvent *e);
48 virtual void mouseMoveEvent(QMouseEvent *e); 48 virtual void mouseMoveEvent(QMouseEvent *e);
49 virtual bool shouldLabelSelections() const { return false; }
49 50
50 QPoint m_clickPos; 51 QPoint m_clickPos;
51 QPoint m_mousePos; 52 QPoint m_mousePos;
52 bool m_clickedInRange; 53 bool m_clickedInRange;
53 size_t m_dragCentreFrame; 54 size_t m_dragCentreFrame;