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

Method Preview

src/AdornedRulerPanel.cpp:1891–1905  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1889#endif
1890
1891auto AdornedRulerPanel::ScrubbingHandle::Preview(
1892 const TrackPanelMouseState &, AudacityProject *pProject)
1893 -> HitTestPreview
1894{
1895 auto &scrubber = Scrubber::Get( *pProject );
1896 auto message = ScrubbingMessage(scrubber, mClicked == Button::Left);
1897
1898 mParent->SetNumGuides(1);
1899 return {
1900 message,
1901 {},
1902 // Tooltip is same as status message, or blank
1903 mParent ? message : TranslatableString{},
1904 };
1905}
1906
1907#ifdef QUICK_PLAY_HANDLE
1908auto AdornedRulerPanel::QPHandle::Preview(

Callers

nothing calls this directly

Calls 4

GetFunction · 0.85
ScrubbingMessageFunction · 0.85
SetNumGuidesMethod · 0.80
IsWithinMarkerMethod · 0.80

Tested by

no test coverage detected