| 2679 | } |
| 2680 | |
| 2681 | void AdornedRulerPanel::ClearPlayRegion() |
| 2682 | { |
| 2683 | ProjectAudioManager::Get( *mProject ).Stop(); |
| 2684 | |
| 2685 | auto &viewInfo = ViewInfo::Get( *GetProject() ); |
| 2686 | auto &playRegion = viewInfo.playRegion; |
| 2687 | playRegion.Clear(); |
| 2688 | |
| 2689 | Refresh(); |
| 2690 | } |
| 2691 | |
| 2692 | void AdornedRulerPanel::GetMaxSize(wxCoord *width, wxCoord *height) |
| 2693 | { |