Mercurial > hg > svcore
diff base/View.h @ 10:ec6886f0e673
* 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 | 73d85d19919f |
children | f67ddc287bc3 |
line wrap: on
line diff
--- a/base/View.h Tue Jan 24 16:20:58 2006 +0000 +++ b/base/View.h Wed Jan 25 17:46:28 2006 +0000 @@ -192,6 +192,7 @@ View(QWidget *, bool showProgress); virtual void paintEvent(QPaintEvent *e); virtual void drawSelections(QPainter &); + virtual bool shouldLabelSelections() const { return true; } typedef std::vector<Layer *> LayerList; @@ -205,7 +206,7 @@ ZoomConstraint::RoundingDirection dir = ZoomConstraint::RoundNearest) const; - void setCentreFrame(size_t f, bool e); + bool setCentreFrame(size_t f, bool doEmit); void checkProgress(void *object);