mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 22:12:58 +02:00
Optional parameters now working.
This commit is contained in:
committed by
Paul Licameli
parent
c02a29e261
commit
2180379a18
@@ -57,9 +57,17 @@ void SetTrackInfoCommand::PopulateOrExchange(ShuttleGui & S)
|
||||
S.StartMultiColumn(2, wxALIGN_CENTER);
|
||||
{
|
||||
S.TieNumericTextBox( _("Track Index"), mTrackIndex );
|
||||
}
|
||||
S.EndMultiColumn();
|
||||
S.StartMultiColumn(3, wxALIGN_CENTER);
|
||||
{
|
||||
S.Optional( bHasTrackName ).TieTextBox( _("Name"), mTrackName );
|
||||
S.Optional( bHasPan ).TieSlider( _("Pan"), mPan, 1.0, -1.0);
|
||||
S.Optional( bHasGain ).TieSlider( _("Gain"), mGain, 10.0, 0.0);
|
||||
}
|
||||
S.EndMultiColumn();
|
||||
S.StartMultiColumn(2, wxALIGN_CENTER);
|
||||
{
|
||||
S.Optional( bHasSelected ).TieCheckBox( _("Selected"), bSelected );
|
||||
S.Optional( bHasFocused ).TieCheckBox( _("Focused"), bFocused);
|
||||
S.Optional( bHasSolo ).TieCheckBox( _("Solo"), bSolo);
|
||||
|
Reference in New Issue
Block a user