15#include "../../../HitTestResult.h"
19#include "../../../RefreshCode.h"
20#include "../../../TrackPanelMouseEvent.h"
24 const std::shared_ptr<TimeTrack> &pTrack,
const wxRect &rect,
int y)
38#ifdef EXPERIMENTAL_TRACK_PANEL_HIGHLIGHTING
67 static wxCursor arrowCursor{ wxCURSOR_ARROW };
70 XO(
"Right-click for menu."),
85 const wxMouseEvent &
event = evt.
event;
86 const bool shiftDown =
event.ShiftDown();
87 const bool rightUp =
event.RightUp();
92 !(event.ShiftDown() || event.CmdDown()))
100 pMenu->Popup( *pParent, {
event.m_x,
event.m_y } );
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Result Release(const TrackPanelMouseEvent &event, AudacityProject *pProject, wxWindow *pParent) override
~TimeTrackVZoomHandle() override
bool HandlesRightClick() override
Whether the handle has any special right-button handling.
void Enter(bool forward, AudacityProject *) override
std::shared_ptr< const Track > FindTrack() const override
std::weak_ptr< TimeTrack > mpTrack
Result Click(const TrackPanelMouseEvent &event, AudacityProject *pProject) override
HitTestPreview Preview(const TrackPanelMouseState &state, AudacityProject *pProject) override
Result Drag(const TrackPanelMouseEvent &event, AudacityProject *pProject) override
Result Cancel(AudacityProject *pProject) override
TimeTrackVZoomHandle(const TimeTrackVZoomHandle &)
std::shared_ptr< Subclass > Lock(const std::weak_ptr< Subclass > &wTrack)
static TrackList & Get(AudacityProject &project)
Namespace containing an enum 'what to do on a refresh?'.