| 53 | { return nullptr; } |
| 54 | |
| 55 | Result Click |
| 56 | (const TrackPanelMouseEvent &evt, AudacityProject *pProject) override |
| 57 | { |
| 58 | using namespace RefreshCode; |
| 59 | const wxMouseEvent &event = evt.event; |
| 60 | // Do not start a drag |
| 61 | Result result = Cancelled; |
| 62 | |
| 63 | // AS: If the user clicked outside all tracks, make nothing |
| 64 | // selected. |
| 65 | if ((event.ButtonDown() || event.ButtonDClick())) { |
| 66 | SelectionState::Get( *pProject ).SelectNone( |
| 67 | TrackList::Get( *pProject ) ); |
| 68 | result |= RefreshAll; |
| 69 | } |
| 70 | |
| 71 | return result; |
| 72 | } |
| 73 | |
| 74 | Result Drag |
| 75 | (const TrackPanelMouseEvent &, AudacityProject *) override |
nothing calls this directly
no test coverage detected