mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-03 15:43:50 +01:00
Update Fade-Ends Macro, and RelativeTo enums.
- FromEnd boolean parameter is now replaced by RelativeTo enum.
This commit is contained in:
@@ -128,7 +128,7 @@ void MacroCommands::RestoreMacro(const wxString & name)
|
|||||||
} else if (name == GetCustomTranslation( FadeEnds ) ){
|
} else if (name == GetCustomTranslation( FadeEnds ) ){
|
||||||
AddToMacro( wxT("Select"), wxT("Start=\"0\" End=\"1\"") );
|
AddToMacro( wxT("Select"), wxT("Start=\"0\" End=\"1\"") );
|
||||||
AddToMacro( wxT("FadeIn") );
|
AddToMacro( wxT("FadeIn") );
|
||||||
AddToMacro( wxT("Select"), wxT("Start=\"0\" End=\"1\" FromEnd=\"1\"") );
|
AddToMacro( wxT("Select"), wxT("Start=\"0\" End=\"1\" RelativeTo=\"Project End\"") );
|
||||||
AddToMacro( wxT("FadeOut") );
|
AddToMacro( wxT("FadeOut") );
|
||||||
AddToMacro( wxT("Select"), wxT("Start=\"0\" End=\"0\"") );
|
AddToMacro( wxT("Select"), wxT("Start=\"0\" End=\"0\"") );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,12 +46,12 @@ explicitly code all three.
|
|||||||
const int nRelativeTos =6;
|
const int nRelativeTos =6;
|
||||||
static const wxString kRelativeTo[nRelativeTos] =
|
static const wxString kRelativeTo[nRelativeTos] =
|
||||||
{
|
{
|
||||||
XO("ProjectStart"),
|
XO("Project Start"),
|
||||||
XO("Project"),
|
XO("Project"),
|
||||||
XO("ProjectEnd"),
|
XO("Project End"),
|
||||||
XO("SelectionStart"),
|
XO("Selection Start"),
|
||||||
XO("Selection"),
|
XO("Selection"),
|
||||||
XO("SelectionEnd")
|
XO("Selection End")
|
||||||
};
|
};
|
||||||
|
|
||||||
bool SelectTimeCommand::DefineParams( ShuttleParams & S ){
|
bool SelectTimeCommand::DefineParams( ShuttleParams & S ){
|
||||||
|
|||||||
Reference in New Issue
Block a user