mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Play region and its lock are stored together in ViewInfo
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
#include "CellularPanel.h"
|
||||
#include "widgets/Ruler.h" // member variable
|
||||
#include "Prefs.h"
|
||||
#include "ViewInfo.h" // for PlayRegion
|
||||
|
||||
class ViewInfo;
|
||||
class AudacityProject;
|
||||
class SnapManager;
|
||||
class TrackList;
|
||||
@@ -54,7 +54,6 @@ public:
|
||||
|
||||
void SetPlayRegion(double playRegionStart, double playRegionEnd);
|
||||
void ClearPlayRegion();
|
||||
void GetPlayRegion(double* playRegionStart, double* playRegionEnd);
|
||||
|
||||
void GetMaxSize(wxCoord *width, wxCoord *height);
|
||||
|
||||
@@ -132,11 +131,7 @@ private:
|
||||
|
||||
bool mIsSnapped;
|
||||
|
||||
bool mPlayRegionLock;
|
||||
double mPlayRegionStart;
|
||||
double mPlayRegionEnd;
|
||||
double mOldPlayRegionStart;
|
||||
double mOldPlayRegionEnd;
|
||||
PlayRegion mOldPlayRegion;
|
||||
|
||||
bool mIsRecording;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user