Mercurial > hg > sonic-visualiser
comparison document/SVFileReader.cpp @ 118:b4110b17bca8
* Fix #1672407 confused by plugin-named files in cwd (or home?)
* Fix #1491848 crash when loading new file while transform plugin runs
* Fix #1502287 Background remains black after spectrogram layer deleted
* Fix #1604477 Replacing the main audio file silences secondary audio file
* Fix failure to initialise property box layout to last preference on startup
* Fix resample/wrong-rate display in Pane, ensure that right rate is chosen
if all current models have an acceptable rate even if previous main model
had a different one
* Fix "global zoom" broken in previous commit
* Some fixes to spectrogram cache area updating (makes spectrogram appear
more quickly, previously it had a tendency to refresh with empty space)
* Fixes to colour 3d plot normalization
author | Chris Cannam |
---|---|
date | Thu, 08 Mar 2007 16:53:08 +0000 |
parents | e6c4b27cba2c |
children | fbd09fcda469 |
comparison
equal
deleted
inserted
replaced
117:8089a394829a | 118:b4110b17bca8 |
---|---|
671 | 671 |
672 READ_MANDATORY(size_t, centre, toUInt); | 672 READ_MANDATORY(size_t, centre, toUInt); |
673 READ_MANDATORY(size_t, zoom, toUInt); | 673 READ_MANDATORY(size_t, zoom, toUInt); |
674 READ_MANDATORY(int, followPan, toInt); | 674 READ_MANDATORY(int, followPan, toInt); |
675 READ_MANDATORY(int, followZoom, toInt); | 675 READ_MANDATORY(int, followZoom, toInt); |
676 READ_MANDATORY(int, light, toInt); | |
677 QString tracking = attributes.value("tracking"); | 676 QString tracking = attributes.value("tracking"); |
678 | 677 |
679 // Specify the follow modes before we set the actual values | 678 // Specify the follow modes before we set the actual values |
680 view->setFollowGlobalPan(followPan); | 679 view->setFollowGlobalPan(followPan); |
681 view->setFollowGlobalZoom(followZoom); | 680 view->setFollowGlobalZoom(followZoom); |
684 : PlaybackIgnore); | 683 : PlaybackIgnore); |
685 | 684 |
686 // Then set these values | 685 // Then set these values |
687 view->setCentreFrame(centre); | 686 view->setCentreFrame(centre); |
688 view->setZoomLevel(zoom); | 687 view->setZoomLevel(zoom); |
689 view->setLightBackground(light); | |
690 | 688 |
691 // And pane properties | 689 // And pane properties |
692 READ_MANDATORY(int, centreLineVisible, toInt); | 690 READ_MANDATORY(int, centreLineVisible, toInt); |
693 m_currentPane->setCentreLineVisible(centreLineVisible); | 691 m_currentPane->setCentreLineVisible(centreLineVisible); |
694 | 692 |