1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-06 22:45:29 +01:00

Play region and its lock are stored together in ViewInfo

This commit is contained in:
Paul Licameli
2019-01-25 23:39:29 -05:00
parent 0a843806f8
commit 63b93fd2d1
11 changed files with 165 additions and 146 deletions

View File

@@ -12,7 +12,6 @@
#include "Audacity.h" // for USE_* macros
#include "Project.h"
#include "AdornedRulerPanel.h"
#include "KeyboardCapture.h"
#include "ondemand/ODTaskThread.h"
@@ -156,14 +155,6 @@ void AudacityProject::SetStatus(const wxString &msg)
}
}
void AudacityProject::GetPlayRegion(double* playRegionStart,
double *playRegionEnd)
{
auto &project = *this;
AdornedRulerPanel::Get( project ).GetPlayRegion(
playRegionStart, playRegionEnd);
}
wxFrame &GetProjectFrame( AudacityProject &project )
{
auto ptr = project.GetFrame();