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

Method SetTimeDisplayMode

src/AdornedRulerPanel.cpp:2834–2842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2832}
2833
2834void AdornedRulerPanel::SetTimeDisplayMode(TimeDisplayMode type)
2835{
2836 if (mTimeDisplayMode == type)
2837 return;
2838
2839 mTimeDisplayMode = type;
2840 TimeDisplayModePreference.WriteEnum(mTimeDisplayMode);
2841 Refresh();
2842}
2843
2844// Attach menu item
2845

Callers 2

ReconfigureMusicGridMethod · 0.80
SetTimeDisplayModeFunction · 0.80

Calls 1

WriteEnumMethod · 0.45

Tested by

no test coverage detected