15#ifndef __AUDACITY_SNAP__
16#define __AUDACITY_SNAP__
62 bool noTimeSnap =
false,
71 bool noTimeSnap =
false,
87 void CondListAdd(
double t,
const Track *track);
88 double Get(
size_t index);
89 wxInt64 PixelDiff(
double t,
size_t index);
90 size_t Find(
double t,
size_t i0,
size_t i1);
91 size_t Find(
double t);
92 bool SnapToPoints(
Track *currentTrack,
double t,
bool rightEdge,
double *outT);
102 double mEpsilon{ 1 / 44100.0 };
107 bool mSnapToTime{
false };
const int kPixelTolerance
std::vector< SnapPoint > SnapPointArray
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
An explicitly nonlocalized string, not meant for the user to see.
const AudacityProject * mProject
SnapPointArray mCandidates
SnapPointArray mSnapPoints
const ZoomInfo * mZoomInfo
SnapPoint(double t_=0.0, const Track *track_=nullptr)
Abstract base class for an object holding data associated with points on a time axis.
A flat linked list of tracks supporting Add, Remove, Clear, and Contains, serialization of the list o...
PROJECT_FILE_IO_API wxString Find(const FilePath &path)
Services * Get()
Fetch the global instance, or nullptr if none is yet installed.