Audacity 3.2.0
Functions
anonymous_namespace{ClipOverflowButtonHandle.cpp} Namespace Reference

Functions

void SelectInterval (AudacityProject &project, const WaveTrack::Interval &interval)
 

Detailed Description


Audacity: A Digital Audio Editor

ClipOverflowButtonHandle.cpp

Matthieu Hodgkinson

Function Documentation

◆ SelectInterval()

void anonymous_namespace{ClipOverflowButtonHandle.cpp}::SelectInterval ( AudacityProject project,
const WaveTrack::Interval interval 
)

Definition at line 29 of file ClipOverflowButtonHandle.cpp.

31{
32 auto& viewInfo = ViewInfo::Get(project);
33 viewInfo.selectedRegion.setTimes(
34 interval.GetPlayStartTime(), interval.GetPlayEndTime());
36}
const auto project
void ModifyState(bool bWantsAutoSave)
static ProjectHistory & Get(AudacityProject &project)
static ViewInfo & Get(AudacityProject &project)
Definition: ViewInfo.cpp:235
double GetPlayStartTime() const noexcept override
Definition: WaveClip.cpp:1762
double GetPlayEndTime() const override
Definition: WaveClip.cpp:1772

References ProjectHistory::Get(), ViewInfo::Get(), WaveClip::GetPlayEndTime(), WaveClip::GetPlayStartTime(), ProjectHistory::ModifyState(), and project.

Referenced by ClipOverflowButtonHandle::DoRelease().

Here is the call graph for this function:
Here is the caller graph for this function: