mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-10 05:30:01 +01:00
Shorter command names. General tidying.
-More commands now have shorter names for parameters. -New scripts for generating images. -Several old-style commands retired.
This commit is contained in:
committed by
Paul Licameli
parent
62ca1cce26
commit
5d36890cb0
@@ -27,16 +27,7 @@
|
||||
#include "CommandContext.h"
|
||||
|
||||
SetClipCommand::SetClipCommand()
|
||||
{/*
|
||||
mTrackIndex = 0;
|
||||
mTrackName = "unnamed";
|
||||
mPan = 0.0f;
|
||||
mGain = 1.0f;
|
||||
bSelected = false;
|
||||
bFocused = false;
|
||||
bSolo = false;
|
||||
bMute = false;
|
||||
*/
|
||||
{
|
||||
}
|
||||
|
||||
enum kColours
|
||||
@@ -59,7 +50,7 @@ static const wxString kColourStrings[nColours] =
|
||||
|
||||
bool SetClipCommand::DefineParams( ShuttleParams & S ){
|
||||
wxArrayString colours( nColours, kColourStrings );
|
||||
S.Define( mClipIndex, wxT("ClipIndex"), 0, 0, 100 );
|
||||
S.Define( mClipIndex, wxT("Clip"), 0, 0, 100 );
|
||||
S.Optional( bHasColour ).DefineEnum( mColour, wxT("Color"), kColour0, colours );
|
||||
// Allowing a negative start time is not a mistake.
|
||||
// It will be used in demonstrating time before zero.
|
||||
|
||||
Reference in New Issue
Block a user