14#include "../../HitTestResult.h"
15#include "../../RefreshCode.h"
17#include "../../TrackPanelMouseEvent.h"
22(
const std::shared_ptr<Track> &pTrack,
const wxRect &rect )
55 const wxMouseEvent &
event = evt.
event;
56 if (!event.Button(wxMOUSE_BTN_LEFT))
60 if (
mRect.Contains(event.m_x, event.m_y)) {
73 const wxMouseEvent &
event = evt.
event;
79 auto isIn =
mRect.Contains(event.m_x, event.m_y);
92 return { message, {}, message };
105 const wxMouseEvent &
event = evt.
event;
106 if (pTrack &&
mRect.Contains(event.m_x, event.m_y))
declares abstract base class Track, TrackList, and iterators over TrackList
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
std::shared_ptr< Subclass > Lock(const std::weak_ptr< Subclass > &wTrack)
static TrackList & Get(AudacityProject &project)
Holds a msgid for the translation catalog; may also bind format arguments.
Namespace containing an enum 'what to do on a refresh?'.