Audacity 3.2.0
Classes | Typedefs | Functions
LabelTrackShifter.cpp File Reference

headerless file injects method definitions for time shifting of LabelTrack More...

#include "LabelTrackView.h"
#include "../../ui/TimeShiftHandle.h"
#include "../../../LabelTrack.h"
#include "ViewInfo.h"
Include dependency graph for LabelTrackShifter.cpp:

Go to the source code of this file.

Classes

class  LabelTrackShifter
 
struct  LabelTrackShifter::MovingInterval
 

Typedefs

using MakeLabelTrackShifter = MakeTrackShifter::Override< LabelTrack >
 

Functions

 DEFINE_ATTACHED_VIRTUAL_OVERRIDE (MakeLabelTrackShifter)
 

Detailed Description

headerless file injects method definitions for time shifting of LabelTrack

Definition in file LabelTrackShifter.cpp.

Typedef Documentation

◆ MakeLabelTrackShifter

Definition at line 248 of file LabelTrackShifter.cpp.

Function Documentation

◆ DEFINE_ATTACHED_VIRTUAL_OVERRIDE()

DEFINE_ATTACHED_VIRTUAL_OVERRIDE ( MakeLabelTrackShifter  )

Definition at line 249 of file LabelTrackShifter.cpp.

249 {
250 return [](LabelTrack &track, AudacityProject &project) {
251 return std::make_unique<LabelTrackShifter>(track, project);
252 };
253}
const auto project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
A LabelTrack is a Track that holds labels (LabelStruct).
Definition: LabelTrack.h:95

References project.