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

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

#include "../../../ui/TimeShiftHandle.h"
#include "NoteTrack.h"
#include "ViewInfo.h"
Include dependency graph for NoteTrackShifter.cpp:

Go to the source code of this file.

Classes

class  NoteTrackShifter
 

Typedefs

using MakeNoteTrackShifter = MakeTrackShifter::Override< NoteTrack >
 

Functions

 DEFINE_ATTACHED_VIRTUAL_OVERRIDE (MakeNoteTrackShifter)
 

Detailed Description

headerless file injects method definitions for time shifting of NoteTrack

Definition in file NoteTrackShifter.cpp.

Typedef Documentation

◆ MakeNoteTrackShifter

Definition at line 56 of file NoteTrackShifter.cpp.

Function Documentation

◆ DEFINE_ATTACHED_VIRTUAL_OVERRIDE()

DEFINE_ATTACHED_VIRTUAL_OVERRIDE ( MakeNoteTrackShifter  )

Definition at line 57 of file NoteTrackShifter.cpp.

57 {
58 return [](NoteTrack &track, AudacityProject&) {
59 return std::make_unique<NoteTrackShifter>(track);
60 };
61}
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 Track that is used for Midi notes. (Somewhat old code).
Definition: NoteTrack.h:78