comparison framework/SVFileReader.cpp @ 379:6a84102c006a

Create separate play scroll modes for (Tony-style, DAW-style) page mode and (SV-style) paging with playhead alignment to centre on drag
author Chris Cannam
date Wed, 02 Jul 2014 17:30:09 +0100
parents f1cab64363d7
children 7657075ecfca
comparison
equal deleted inserted replaced
378:a7a643988390 379:6a84102c006a
765 765
766 // Specify the follow modes before we set the actual values 766 // Specify the follow modes before we set the actual values
767 view->setFollowGlobalPan(followPan); 767 view->setFollowGlobalPan(followPan);
768 view->setFollowGlobalZoom(followZoom); 768 view->setFollowGlobalZoom(followZoom);
769 view->setPlaybackFollow(tracking == "scroll" ? PlaybackScrollContinuous : 769 view->setPlaybackFollow(tracking == "scroll" ? PlaybackScrollContinuous :
770 tracking == "page" ? PlaybackScrollPage 770 tracking == "page" ? PlaybackScrollPageWithCentre :
771 tracking == "daw" ? PlaybackScrollPage
771 : PlaybackIgnore); 772 : PlaybackIgnore);
772 773
773 // Then set these values 774 // Then set these values
774 view->setCentreFrame(centre); 775 view->setCentreFrame(centre);
775 view->setZoomLevel(zoom); 776 view->setZoomLevel(zoom);