comparison framework/MainWindowBase.cpp @ 187:5a40619c72d8 sv-v1.7.1

* Layer data editor window: fix sorting for columns in region model, add Find feature * RDF import: assign names to layers based on event types, if no suitable labels are found in the RDF * Add label to status bar showing the last text that was passed in current layer (so e.g. counting 1, 2, 3, 4 if that's what beats are labelled) * Better layout of text labels for region layers in segmentation mode when they are close together * Give text layer the same method for finding "nearest point" as region and note layers, should improve its editability
author Chris Cannam
date Thu, 22 Oct 2009 15:54:21 +0000
parents f694ee2567fe
children 32c13c46abd6
comparison
equal deleted inserted replaced
186:f694ee2567fe 187:5a40619c72d8
2623 void 2623 void
2624 MainWindowBase::playbackFrameChanged(unsigned long frame) 2624 MainWindowBase::playbackFrameChanged(unsigned long frame)
2625 { 2625 {
2626 if (!(m_playSource && m_playSource->isPlaying()) || !getMainModel()) return; 2626 if (!(m_playSource && m_playSource->isPlaying()) || !getMainModel()) return;
2627 2627
2628 updatePositionStatusDisplays();
2629
2628 RealTime now = RealTime::frame2RealTime 2630 RealTime now = RealTime::frame2RealTime
2629 (frame, getMainModel()->getSampleRate()); 2631 (frame, getMainModel()->getSampleRate());
2630 2632
2631 if (now.sec == m_lastPlayStatusSec) return; 2633 if (now.sec == m_lastPlayStatusSec) return;
2632 2634