mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-11 17:05:26 +01:00
TrackClip moved to TimeShiftHandle; Snap doesn't use Track subclasses
This commit is contained in:
17
src/Snap.cpp
17
src/Snap.cpp
@@ -16,29 +16,14 @@
|
||||
|
||||
#include "Project.h"
|
||||
#include "ProjectSettings.h"
|
||||
#include "LabelTrack.h"
|
||||
#include "NoteTrack.h"
|
||||
#include "WaveClip.h"
|
||||
#include "Track.h"
|
||||
#include "ViewInfo.h"
|
||||
#include "WaveTrack.h"
|
||||
|
||||
inline bool operator < (SnapPoint s1, SnapPoint s2)
|
||||
{
|
||||
return s1.t < s2.t;
|
||||
}
|
||||
|
||||
TrackClip::TrackClip(Track *t, WaveClip *c)
|
||||
{
|
||||
track = origTrack = t;
|
||||
dstTrack = NULL;
|
||||
clip = c;
|
||||
}
|
||||
|
||||
TrackClip::~TrackClip()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
SnapManager::SnapManager(const AudacityProject &project,
|
||||
SnapPointArray candidates,
|
||||
const ZoomInfo &zoomInfo,
|
||||
|
||||
Reference in New Issue
Block a user