| 1793 | } |
| 1794 | |
| 1795 | auto AdornedRulerPanel::QPHandle::Drag( |
| 1796 | const TrackPanelMouseEvent &event, AudacityProject *pProject) -> Result |
| 1797 | { |
| 1798 | auto result = CommonRulerHandle::Drag(event, pProject); |
| 1799 | if (!( result & RefreshCode::Cancelled )) { |
| 1800 | if (mClicked == Button::Left) { |
| 1801 | if ( mParent ) { |
| 1802 | mX = event.event.m_x; |
| 1803 | mParent->UpdateQuickPlayPos( mX ); |
| 1804 | mParent->HandleQPDrag( event.event, mX ); |
| 1805 | } |
| 1806 | } |
| 1807 | } |
| 1808 | return result; |
| 1809 | } |
| 1810 | |
| 1811 | void AdornedRulerPanel::HandleQPDrag(wxMouseEvent &/*event*/, wxCoord mousePosX) |
| 1812 | { |
nothing calls this directly
no test coverage detected