mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-26 17:18:41 +02:00
incremental layout updates based on Steve's mock-up
This commit is contained in:
parent
2c827c163e
commit
a7d0ddc49a
@ -4,7 +4,7 @@
|
||||
|
||||
ChangePitch.cpp
|
||||
|
||||
Vaughan Johnson, Dominic Mazzoni
|
||||
Vaughan Johnson, Dominic Mazzoni, Steve Daulton
|
||||
|
||||
Change Pitch effect provides raising or lowering
|
||||
the pitch without changing the tempo.
|
||||
@ -281,11 +281,11 @@ void ChangePitchDialog::PopulateOrExchange(ShuttleGui & S)
|
||||
S.EndHorizontalLay();
|
||||
S.SetBorder(5);
|
||||
|
||||
/* i18n-hint: (noun) Musical pitch.*/
|
||||
S.StartStatic(wxT("Pitch"));
|
||||
{
|
||||
S.StartMultiColumn(6, wxCENTER);
|
||||
{
|
||||
/* i18n-hint: (noun) Musical pitch.*/
|
||||
S.AddUnits(_("Pitch:"));
|
||||
|
||||
S.StartHorizontalLay(wxALIGN_CENTER_VERTICAL);
|
||||
{
|
||||
m_pChoice_FromPitch = S.Id(ID_CHOICE_FROMPITCH).AddChoice(_("from"), wxT(""), &pitch);
|
||||
@ -311,9 +311,14 @@ void ChangePitchDialog::PopulateOrExchange(ShuttleGui & S)
|
||||
m_pTextCtrl_SemitonesChange->SetValidator(numvld);
|
||||
}
|
||||
S.EndHorizontalLay();
|
||||
}
|
||||
S.EndMultiColumn();
|
||||
}
|
||||
S.EndStatic();
|
||||
|
||||
S.AddPrompt(_("Frequency (Hz):"));
|
||||
S.StartHorizontalLay(wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL, false);
|
||||
S.StartStatic(wxT("Frequency (Hz)"));
|
||||
{
|
||||
S.StartHorizontalLay(wxCENTER, false);
|
||||
{
|
||||
m_pTextCtrl_FromFrequency = S.Id(ID_TEXT_FROMFREQUENCY)
|
||||
.AddTextBox(_("from"), wxT(""), 12);
|
||||
@ -327,17 +332,12 @@ void ChangePitchDialog::PopulateOrExchange(ShuttleGui & S)
|
||||
}
|
||||
S.EndHorizontalLay();
|
||||
|
||||
S.AddPrompt(_("Percent Change:"));
|
||||
S.StartHorizontalLay(wxALIGN_LEFT | wxALIGN_CENTER_VERTICAL, false);
|
||||
S.StartHorizontalLay(wxCENTER, false);
|
||||
{
|
||||
m_pTextCtrl_PercentChange = S.Id(ID_TEXT_PERCENTCHANGE)
|
||||
.AddTextBox(wxT(""), wxT(""), 12);
|
||||
m_pTextCtrl_PercentChange->SetName(_("Percent Change"));
|
||||
m_pTextCtrl_PercentChange = S.Id(ID_TEXT_PERCENTCHANGE).AddTextBox(wxT("Percent Change:"), wxT(""), 12);
|
||||
m_pTextCtrl_PercentChange->SetValidator(numvld);
|
||||
}
|
||||
S.EndHorizontalLay();
|
||||
}
|
||||
S.EndMultiColumn();
|
||||
|
||||
S.StartHorizontalLay(wxEXPAND);
|
||||
{
|
||||
@ -347,8 +347,8 @@ void ChangePitchDialog::PopulateOrExchange(ShuttleGui & S)
|
||||
m_pSlider_PercentChange->SetName(_("Percent Change"));
|
||||
}
|
||||
S.EndHorizontalLay();
|
||||
|
||||
return;
|
||||
}
|
||||
S.EndStatic();
|
||||
}
|
||||
|
||||
bool ChangePitchDialog::TransferDataToWindow()
|
||||
|
Loading…
x
Reference in New Issue
Block a user