comparison widgets/Pane.cpp @ 35:10ba9276a315

* Add TextModel and TextLayer types * Make View refresh work better when editing a model (previously edits might not be refreshed if their visible changed area extended beyond the strict frame range that was being modified in the model) * Add phase-adjusted instantaneous frequency display to spectrogram layer (still a work in progress) * Pull maths aliases out into a separate header in dsp/maths so MathUtilities can be included without introducing them
author Chris Cannam
date Mon, 20 Feb 2006 13:33:36 +0000
parents 202d1dca67d2
children c28ebb4ba4de
comparison
equal deleted inserted replaced
34:c43f2c4f66f2 35:10ba9276a315
490 } else { 490 } else {
491 setCursor(Qt::ArrowCursor); 491 setCursor(Qt::ArrowCursor);
492 } 492 }
493 } 493 }
494 494
495 if (mode != ViewManager::DrawMode) { 495 //!!! if (mode != ViewManager::DrawMode) {
496 496
497 bool previouslyIdentifying = m_identifyFeatures; 497 bool previouslyIdentifying = m_identifyFeatures;
498 m_identifyFeatures = true; 498 m_identifyFeatures = true;
499 499
500 if (m_identifyFeatures != previouslyIdentifying || 500 if (m_identifyFeatures != previouslyIdentifying ||
501 m_identifyPoint != prevPoint) { 501 m_identifyPoint != prevPoint) {
502 update(); 502 update();
503 } 503 }
504 } 504 // }
505 505
506 return; 506 return;
507 } 507 }
508 508
509 if (m_navigating || mode == ViewManager::NavigateMode) { 509 if (m_navigating || mode == ViewManager::NavigateMode) {