Audacity 3.2.0
ClipOverflowButtonHandle.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 ClipOverflowButtonHandle.h
7
8 Matthieu Hodgkinson
9
10**********************************************************************/
11#pragma once
12
14#include <optional>
15
17{
18public:
20 const std::shared_ptr<WaveTrack>& track,
21 const std::shared_ptr<WaveTrack::Interval>& clip,
22 std::weak_ptr<TrackPanelCell> cell);
23
24private:
26 const TrackPanelMouseEvent& event, AudacityProject* pProject,
27 wxWindow* pParent) override;
28
30 const TrackPanelMouseState& state, AudacityProject* pProject) override;
31
32 void DoDraw(const wxRect& rect, wxDC& dc) override;
33
34 std::weak_ptr<TrackPanelCell> mCell;
35};
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
std::weak_ptr< TrackPanelCell > mCell
void DoDraw(const wxRect &rect, wxDC &dc) override
Result DoRelease(const TrackPanelMouseEvent &event, AudacityProject *pProject, wxWindow *pParent) override
HitTestPreview Preview(const TrackPanelMouseState &state, AudacityProject *pProject) override
ClipOverflowButtonHandle(const std::shared_ptr< WaveTrack > &track, const std::shared_ptr< WaveTrack::Interval > &clip, std::weak_ptr< TrackPanelCell > cell)
unsigned Result
Definition: UIHandle.h:40