MCPcopy Create free account
hub / github.com/audacity/audacity / CreateOverlays

Method CreateOverlays

src/AdornedRulerPanel.cpp:2798–2812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2796}
2797
2798void AdornedRulerPanel::CreateOverlays()
2799{
2800 if (!mOverlay) {
2801 mOverlay =
2802 std::make_shared<TrackPanelGuidelineOverlay>( mProject );
2803 auto pCellularPanel =
2804 dynamic_cast<CellularPanel*>( &GetProjectPanel( *GetProject() ) );
2805 if ( !pCellularPanel ) {
2806 wxASSERT( false );
2807 }
2808 else
2809 pCellularPanel->AddOverlay( mOverlay );
2810 this->AddOverlay( mOverlay->mPartner );
2811 }
2812}
2813
2814void AdornedRulerPanel::TogglePinnedHead()
2815{

Callers 1

HitTestMethod · 0.80

Calls 1

AddOverlayMethod · 0.80

Tested by

no test coverage detected