1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-08 04:32:00 +01:00

Rewrite empty prompts to ShuttleGUI functions as {} ...

... so we might more easily redefine the type of the function argument,
some other day (not this release)
This commit is contained in:
Paul Licameli
2017-09-27 21:20:14 -04:00
parent e0970ad1e8
commit 80a958f8a4
38 changed files with 113 additions and 113 deletions

View File

@@ -206,7 +206,7 @@ void EffectCompressor::PopulateOrExchange(ShuttleGui & S)
}
S.EndHorizontalLay();
S.StartStatic(wxT(""));
S.StartStatic( {} );
{
S.StartMultiColumn(3, wxEXPAND);
{
@@ -214,7 +214,7 @@ void EffectCompressor::PopulateOrExchange(ShuttleGui & S)
mThresholdLabel = S.AddVariableText(_("Threshold:"), true,
wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL);
S.SetStyle(wxSL_HORIZONTAL);
mThresholdSlider = S.Id(ID_Threshold).AddSlider(wxT(""),
mThresholdSlider = S.Id(ID_Threshold).AddSlider( {},
DEF_Threshold * SCL_Threshold,
MAX_Threshold * SCL_Threshold,
MIN_Threshold * SCL_Threshold);
@@ -225,7 +225,7 @@ void EffectCompressor::PopulateOrExchange(ShuttleGui & S)
mNoiseFloorLabel = S.AddVariableText(_("Noise Floor:"), true,
wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL);
S.SetStyle(wxSL_HORIZONTAL);
mNoiseFloorSlider = S.Id(ID_NoiseFloor).AddSlider(wxT(""),
mNoiseFloorSlider = S.Id(ID_NoiseFloor).AddSlider( {},
DEF_NoiseFloor / SCL_NoiseFloor,
MAX_NoiseFloor / SCL_NoiseFloor,
MIN_NoiseFloor / SCL_NoiseFloor);
@@ -236,7 +236,7 @@ void EffectCompressor::PopulateOrExchange(ShuttleGui & S)
mRatioLabel = S.AddVariableText(_("Ratio:"), true,
wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL);
S.SetStyle(wxSL_HORIZONTAL);
mRatioSlider = S.Id(ID_Ratio).AddSlider(wxT(""),
mRatioSlider = S.Id(ID_Ratio).AddSlider( {},
DEF_Ratio * SCL_Ratio,
MAX_Ratio * SCL_Ratio,
MIN_Ratio * SCL_Ratio);
@@ -251,7 +251,7 @@ void EffectCompressor::PopulateOrExchange(ShuttleGui & S)
mAttackLabel = S.AddVariableText(_("Attack Time:"), true,
wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL);
S.SetStyle(wxSL_HORIZONTAL);
mAttackSlider = S.Id(ID_Attack).AddSlider(wxT(""),
mAttackSlider = S.Id(ID_Attack).AddSlider( {},
DEF_AttackTime * SCL_AttackTime,
MAX_AttackTime * SCL_AttackTime,
MIN_AttackTime * SCL_AttackTime);
@@ -262,7 +262,7 @@ void EffectCompressor::PopulateOrExchange(ShuttleGui & S)
mDecayLabel = S.AddVariableText(_("Release Time:"), true,
wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL);
S.SetStyle(wxSL_HORIZONTAL);
mDecaySlider = S.Id(ID_Decay).AddSlider(wxT(""),
mDecaySlider = S.Id(ID_Decay).AddSlider( {},
DEF_ReleaseTime * SCL_ReleaseTime,
MAX_ReleaseTime * SCL_ReleaseTime,
MIN_ReleaseTime * SCL_ReleaseTime);