mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-14 17:14:07 +01:00
EnumValueSymbols for scale names
This commit is contained in:
@@ -280,7 +280,7 @@ BEGIN_POPUP_MENU(SpectrumVRulerMenuTable)
|
||||
{
|
||||
const auto & names = SpectrogramSettings::GetScaleNames();
|
||||
for (int ii = 0, nn = names.size(); ii < nn; ++ii) {
|
||||
POPUP_MENU_RADIO_ITEM(OnFirstSpectrumScaleID + ii, names[ii],
|
||||
POPUP_MENU_RADIO_ITEM(OnFirstSpectrumScaleID + ii, names[ii].Msgid(),
|
||||
OnSpectrumScaleType);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@ Paul Licameli split from WaveTrackVZoomHandle.cpp
|
||||
|
||||
#include "../../../../HitTestResult.h"
|
||||
#include "../../../../NumberScale.h"
|
||||
#include "../../../../Prefs.h"
|
||||
#include "../../../../ProjectHistory.h"
|
||||
#include "../../../../RefreshCode.h"
|
||||
#include "../../../../TrackPanelMouseEvent.h"
|
||||
@@ -281,7 +282,7 @@ BEGIN_POPUP_MENU(WaveformVRulerMenuTable)
|
||||
{
|
||||
const auto & names = WaveformSettings::GetScaleNames();
|
||||
for (int ii = 0, nn = names.size(); ii < nn; ++ii) {
|
||||
POPUP_MENU_RADIO_ITEM(OnFirstWaveformScaleID + ii, names[ii],
|
||||
POPUP_MENU_RADIO_ITEM(OnFirstWaveformScaleID + ii, names[ii].Msgid(),
|
||||
OnWaveformScaleType);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user