mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 22:12:58 +02:00
Adding EXPERIMENTAL_KEY_VIEW that provides a new keyboard binding view.
This commit is contained in:
@@ -1155,7 +1155,9 @@ void CommandManager::GetAllCommandData(
|
||||
wxArrayString &default_keys,
|
||||
wxArrayString &labels,
|
||||
wxArrayString &categories,
|
||||
#if defined(EXPERIMENTAL_KEY_VIEW)
|
||||
wxArrayString &prefixes,
|
||||
#endif
|
||||
bool includeMultis)
|
||||
{
|
||||
unsigned int i;
|
||||
@@ -1168,7 +1170,9 @@ void CommandManager::GetAllCommandData(
|
||||
default_keys.Add( mCommandList[i]->defaultKey);
|
||||
labels.Add(mCommandList[i]->label);
|
||||
categories.Add(mCommandList[i]->labelTop);
|
||||
#if defined(EXPERIMENTAL_KEY_VIEW)
|
||||
prefixes.Add(mCommandList[i]->labelPrefix);
|
||||
#endif
|
||||
}
|
||||
else if( includeMultis )
|
||||
{
|
||||
@@ -1177,7 +1181,9 @@ void CommandManager::GetAllCommandData(
|
||||
default_keys.Add( mCommandList[i]->defaultKey);
|
||||
labels.Add(mCommandList[i]->label);
|
||||
categories.Add(mCommandList[i]->labelTop);
|
||||
#if defined(EXPERIMENTAL_KEY_VIEW)
|
||||
prefixes.Add(mCommandList[i]->labelPrefix);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -195,7 +195,10 @@ class AUDACITY_DLL_API CommandManager: public XMLTagHandler
|
||||
void GetAllCommandLabels(wxArrayString &labels, bool includeMultis);
|
||||
void GetAllCommandData(
|
||||
wxArrayString &names, wxArrayString &keys, wxArrayString &default_keys,
|
||||
wxArrayString &labels, wxArrayString &categories, wxArrayString &prefixes,
|
||||
wxArrayString &labels, wxArrayString &categories,
|
||||
#if defined(EXPERIMENTAL_KEY_VIEW)
|
||||
wxArrayString &prefixes,
|
||||
#endif
|
||||
bool includeMultis);
|
||||
|
||||
wxString GetLabelFromName(wxString name);
|
||||
|
Reference in New Issue
Block a user