mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 09:01:15 +02:00
Create ComponentInterface
It combines the old IdentInterface with the ParamsInterface, providing an identifier and parameters (if needed). The main purpose of the change is to make the class hierarchy (as viewed via doxygen) much easier to follow.
This commit is contained in:
@@ -326,9 +326,9 @@ MenuTable::BaseItemPtrs PopulateEffectsMenu(
|
||||
#ifdef EXPERIMENTAL_DA
|
||||
// Move Nyquist prompt into nyquist group.
|
||||
&& (plug->GetSymbol() !=
|
||||
IdentInterfaceSymbol("Nyquist Effects Prompt"))
|
||||
&& (plug->GetSymbol() != IdentInterfaceSymbol("Nyquist Tools Prompt"))
|
||||
&& (plug->GetSymbol() != IdentInterfaceSymbol("Nyquist Prompt"))
|
||||
ComponentInterfaceSymbol("Nyquist Effects Prompt"))
|
||||
&& (plug->GetSymbol() != ComponentInterfaceSymbol("Nyquist Tools Prompt"))
|
||||
&& (plug->GetSymbol() != ComponentInterfaceSymbol("Nyquist Prompt"))
|
||||
#endif
|
||||
)
|
||||
defplugs.push_back(plug);
|
||||
|
@@ -1531,7 +1531,7 @@ MenuTable::BaseItemPtr TracksMenu( AudacityProject & )
|
||||
Menu( _("&Align Tracks"), //_("Just Move Tracks"),
|
||||
[]{
|
||||
// Mutual alignment of tracks independent of selection or zero
|
||||
static const IdentInterfaceSymbol alignLabelsNoSync[] = {
|
||||
static const ComponentInterfaceSymbol alignLabelsNoSync[] = {
|
||||
{ wxT("EndToEnd"), XO("&Align End to End") },
|
||||
{ wxT("Together"), XO("Align &Together") },
|
||||
};
|
||||
@@ -1544,7 +1544,7 @@ MenuTable::BaseItemPtr TracksMenu( AudacityProject & )
|
||||
|
||||
[]{
|
||||
// Alignment commands using selection or zero
|
||||
static const IdentInterfaceSymbol alignLabels[] = {
|
||||
static const ComponentInterfaceSymbol alignLabels[] = {
|
||||
{ wxT("StartToZero"), XO("Start to &Zero") },
|
||||
{ wxT("StartToSelStart"), XO("Start to &Cursor/Selection Start")
|
||||
},
|
||||
|
Reference in New Issue
Block a user