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

Method Preview

src/AdornedRulerPanel.cpp:981–994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

979 }
980
981 HitTestPreview Preview(
982 const TrackPanelMouseState &, AudacityProject *)
983 override
984 {
985 mpParent->SetNumGuides(1);
986 static wxCursor cursor{ wxCURSOR_SIZEWE };
987 return {
988 XO( "Click and drag to adjust, double-click to reset" ),
989 &cursor,
990 /* i18n-hint: This text is a tooltip on the icon (of a pin) representing
991 the temporal position in the audio. */
992 XO( "Record/Playhead" )
993 };
994 }
995
996 Result Release(
997 const TrackPanelMouseEvent &event, AudacityProject *pProject,

Callers

nothing calls this directly

Calls 1

SetNumGuidesMethod · 0.80

Tested by

no test coverage detected