Audacity 3.2.0
ClipPitchAndSpeedButtonHandle.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 ClipPitchAndSpeedButtonHandle.h
7
8 Matthieu Hodgkinson
9
10**********************************************************************/
11#pragma once
12
14
16{
17public:
18 enum class Type
19 {
20 Speed,
21 Pitch
22 };
23
25 Type type, const std::shared_ptr<WaveTrack>& track,
26 const std::shared_ptr<WaveTrack::Interval>& clip);
27
28private:
30 const TrackPanelMouseEvent& event, AudacityProject* pProject,
31 wxWindow* pParent) override;
32
34 const TrackPanelMouseState& state, AudacityProject* pProject) override;
35
36 void DoDraw(const wxRect& rect, wxDC& dc) override;
37
39};
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
Result DoRelease(const TrackPanelMouseEvent &event, AudacityProject *pProject, wxWindow *pParent) override
void DoDraw(const wxRect &rect, wxDC &dc) override
HitTestPreview Preview(const TrackPanelMouseState &state, AudacityProject *pProject) override
ClipPitchAndSpeedButtonHandle(Type type, const std::shared_ptr< WaveTrack > &track, const std::shared_ptr< WaveTrack::Interval > &clip)
unsigned Result
Definition: UIHandle.h:40