1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-03 17:39:25 +02:00
This commit is contained in:
James Crook 2018-02-10 20:37:31 +00:00 committed by Paul Licameli
parent 4ee471adb1
commit ea4403ee65
2 changed files with 3 additions and 12 deletions

View File

@ -91,7 +91,7 @@ def makeStereoTrack() :
do( 'SetTrack: TrackIndex=0 Name="Voodoo Children IN STEREO"')
def closeTrack( ):
do( 'SetTrack: TrackIndex=0 Focuseed=True' )
do( 'SetTrack: TrackIndex=0 Focused=True' )
do( 'TrackClose' )
def image1() :

View File

@ -27,16 +27,7 @@
#include "CommandContext.h"
SetTrackCommand::SetTrackCommand()
{/*
mTrackIndex = 0;
mTrackName = "unnamed";
mPan = 0.0f;
mGain = 1.0f;
bSelected = false;
bFocused = false;
bSolo = false;
bMute = false;
*/
{
}
enum kColours
@ -65,7 +56,7 @@ bool SetTrackCommand::DefineParams( ShuttleParams & S ){
S.Optional( bHasHeight ).Define( mHeight, wxT("Height"), 120, 44, 700 );
S.Optional( bHasColour ).DefineEnum( mColour, wxT("Color"), kColour0, colours );
S.Optional( bHasSelected ).Define( bSelected, wxT("Selected"), false );
S.Optional( bHasFocused ).Define( bFocused, wxT("Focuseed"), false );
S.Optional( bHasFocused ).Define( bFocused, wxT("Focused"), false );
S.Optional( bHasSolo ).Define( bSolo, wxT("Solo"), false );
S.Optional( bHasMute ).Define( bMute, wxT("Mute"), false );
return true;