Audacity 3.2.0
WaveTrackAffordanceHandle.h
Go to the documentation of this file.
1/*!********************************************************************
2*
3 Audacity: A Digital Audio Editor
4
5 @file WaveTrackAffordanceHandle.h
6
7 Vitaly Sverchinsky
8
9 **********************************************************************/
10
11#pragma once
12
13#include "../../../ui/AffordanceHandle.h"
14
15class WaveClip;
16
19{
20 std::shared_ptr<WaveClip> mTarget;
21public:
22 WaveTrackAffordanceHandle(const std::shared_ptr<Track>& track, const std::shared_ptr<WaveClip>& target);
23
24 Result Click(const TrackPanelMouseEvent& event, AudacityProject* project) override;
25
26 UIHandle::Result SelectAt(const TrackPanelMouseEvent& event, AudacityProject* project) override;
27};
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:89
unsigned Result
Definition: UIHandle.h:38
This allows multiple clips to be a part of one WaveTrack.
Definition: WaveClip.h:101
Implements some features which are specific to Wave Clips.
std::shared_ptr< WaveClip > mTarget
WaveTrackAffordanceHandle(const std::shared_ptr< Track > &track, const std::shared_ptr< WaveClip > &target)
Result Click(const TrackPanelMouseEvent &event, AudacityProject *project) override
UIHandle::Result SelectAt(const TrackPanelMouseEvent &event, AudacityProject *project) override