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

Method ShowScrubMenu

src/AdornedRulerPanel.cpp:2271–2283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2269}
2270
2271void AdornedRulerPanel::ShowScrubMenu(const wxPoint & pos)
2272{
2273 auto &scrubber = Scrubber::Get( *mProject );
2274 PushEventHandler(&scrubber);
2275 auto cleanup = finally([this]{ PopEventHandler(); });
2276
2277 wxMenu rulerMenu;
2278 scrubber.PopulatePopupMenu(rulerMenu);
2279 BasicMenu::Handle{ &rulerMenu }.Popup(
2280 wxWidgetsWindowPlacement{ this },
2281 { pos.x, pos.y }
2282 );
2283}
2284
2285void AdornedRulerPanel::DragSelection(AudacityProject &project)
2286{

Callers

nothing calls this directly

Calls 4

GetFunction · 0.85
finallyFunction · 0.85
PopulatePopupMenuMethod · 0.80
PopupMethod · 0.45

Tested by

no test coverage detected