Audacity 3.2.0
Classes | Namespaces | Macros | Functions | Variables
NavigationMenus.cpp File Reference
#include "../CommonCommandFlags.h"
#include "Prefs.h"
#include "Project.h"
#include "ProjectHistory.h"
#include "../ProjectWindow.h"
#include "../ProjectWindows.h"
#include "../RealtimeEffectPanel.h"
#include "Track.h"
#include "SelectionState.h"
#include "../TrackPanel.h"
#include "TrackFocus.h"
#include "CommandContext.h"
#include "../toolbars/ToolManager.h"
#include "../widgets/AButton.h"
#include "../widgets/ASlider.h"
#include "../widgets/MeterPanel.h"
Include dependency graph for NavigationMenus.cpp:

Go to the source code of this file.

Classes

struct  NavigationActions::Handler
 

Namespaces

namespace  anonymous_namespace{NavigationMenus.cpp}
 
namespace  NavigationActions
 Namespace for functions for project navigation menu (part of Extra menu)
 

Macros

#define FN(X)   (& NavigationActions::Handler :: X)
 

Functions

void anonymous_namespace{NavigationMenus.cpp}::NextOrPrevFrame (AudacityProject &project, bool forward)
 
void anonymous_namespace{NavigationMenus.cpp}::DoPrevTrack (AudacityProject &project, bool shift, bool circularTrackNavigation)
 
void anonymous_namespace{NavigationMenus.cpp}::DoNextTrack (AudacityProject &project, bool shift, bool circularTrackNavigation)
 
static CommandHandlerObjectfindCommandHandler (AudacityProject &project)
 
auto anonymous_namespace{NavigationMenus.cpp}::ExtraGlobalCommands ()
 
auto anonymous_namespace{NavigationMenus.cpp}::ExtraFocusMenu ()
 

Variables

static const AudacityProject::AttachedObjects::RegisteredFactory key
 
AttachedItem anonymous_namespace{NavigationMenus.cpp}::sAttachment2
 
AttachedItem anonymous_namespace{NavigationMenus.cpp}::sAttachment3
 

Macro Definition Documentation

◆ FN

#define FN (   X)    (& NavigationActions::Handler :: X)

Definition at line 557 of file NavigationMenus.cpp.

Function Documentation

◆ findCommandHandler()

static CommandHandlerObject & findCommandHandler ( AudacityProject project)
static

Definition at line 551 of file NavigationMenus.cpp.

551 {
552 return project.AttachedObjects::Get< NavigationActions::Handler >( key );
553};
static const AudacityProject::AttachedObjects::RegisteredFactory key
const auto project

References key, and project.

Referenced by anonymous_namespace{NavigationMenus.cpp}::ExtraFocusMenu(), and anonymous_namespace{NavigationMenus.cpp}::ExtraGlobalCommands().

Here is the caller graph for this function:

Variable Documentation

◆ key

Initial value:
{
return std::make_unique< NavigationActions::Handler >(); } }
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90

Definition at line 547 of file NavigationMenus.cpp.

Referenced by audacity::sentry::Exception::AddData(), LV2InstanceFeaturesList::AddOption(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Assign(), anonymous_namespace{Registry.cpp}::BadPath(), VampEffectsModule::CheckPluginExist(), MenuRegistry::Options::CheckTest(), KeyConfigPrefs::Commit(), ShuttleSetAutomation::CouldGet(), anonymous_namespace{VST3Wrapper.cpp}::CreateCache(), GraphicsDataCache< CacheElementType >::CreateElement(), ThemeBase::CreateImageCache(), ShuttleSetAutomation::Define(), ShuttleGetAutomation::Define(), ShuttleGetDefinition::Define(), ShuttleSetAutomation::DefineEnum(), ShuttleGetAutomation::DefineEnum(), ShuttleGetDefinition::DefineEnum(), audacity::BasicSettings::DeleteEntry(), AudacityFileConfig::DeleteEntry(), audacity::BasicSettings::DeleteGroup(), AudacityFileConfig::DeleteGroup(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::DoFind(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::DoGet(), CommandParameters::DoReadDouble(), CommandParameters::DoReadLong(), CommandParameters::DoReadString(), CommandParameters::DoWriteDouble(), CommandParameters::DoWriteLong(), AudacityFileConfig::DoWriteLong(), CommandParameters::DoWriteString(), AudacityFileConfig::DoWriteString(), EffectSettingsExtra::DurationKey(), audacity::BasicSettings::Exists(), anonymous_namespace{ExtraMenus.cpp}::ExtraMiscItems(), EventMonitor::FilterEvent(), ChannelAttachmentsBase::Find(), ChannelAttachments< Attachment >::Find(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Find(), findCommandHandler(), GraphicsDataCacheBase::FindKey(), VampEffectsModule::FindPlugin(), AudioUnitEffectBase::FindPresetKey(), CommandManager::CommandListEntry::FormatLabelForMenu(), anonymous_namespace{MenuCreator.cpp}::FormatLabelWithDisabledAccel(), anonymous_namespace{Registry.cpp}::ItemOrdering::Get(), ChannelAttachmentsBase::Get(), ChannelAttachments< Attachment >::Get(), ClientData::Site< Host, ClientData, ObjectCopyingPolicy, Pointer, ObjectLockingPolicy, RegistryLockingPolicy >::Get(), AVDictionaryWrapper::Get(), ModulePrefs::GetAllModuleStatuses(), anonymous_namespace{VST3Wrapper.cpp}::GetCache(), SettingsWX::GetChildKeys(), PluginSettings::GetConfig(), PluginManager::GetConfigValue(), PluginSettings::GetConfigValue(), KeyView::GetIndexByKey(), KeyView::GetNameByKey(), CommandParameters::GetParameters(), PluginDescriptor::HandleXMLTag(), detail::PluginValidationResult::HandleXMLTag(), PluginManager::HasConfigValue(), PluginSettings::HasConfigValue(), SettingsWX::HasEntry(), SettingsWX::HasGroup(), AVDictionaryWrapper::HasValue(), GraphicsDataCache< CacheElementType >::InitializeElement(), WaveBitmapCache::InitializeElement(), WaveDataCache::InitializeElement(), AudacityApp::InitPart2(), anonymous_namespace{Registry.cpp}::ItemOrdering::ItemOrdering(), PluginManager::Key(), MeterPanel::Key(), KeyEventToKeyString(), FileHistory::Load(), AudioUnitEffectBase::LoadSettings(), VSTEffectBase::LoadSettings(), VampEffect::LoadSettings(), ThemeBase::LoadThemeComponents(), MenuRegistry::Options::MakeCheckFn(), SettingsWX::MakePath(), AudioUnitWrapper::MoveSettingsContents(), KeyConfigPrefs::NameFromKey(), NormalizedKeyString::NormalizedKeyString(), TagsEditorDialog::OnChange(), KeyConfigPrefs::OnFilterKeyDown(), ModuleSettingsResetHandler::OnSettingResetBegin(), ModuleSettingsResetHandler::OnSettingResetEnd(), Registry::OrderingPreferenceInitializer::operator()(), anonymous_namespace{GraphicsDataCacheTests.cpp}::CacheElement::operator=(), VST3Utils::ParseAutomationParameterKey(), AudioUnitWrapper::ParameterInfo::ParseKey(), GraphicsDataCacheBase::PerformBaseLookup(), GraphicsDataCache< CacheElementType >::PerformLookup(), WaveBitmapCache::LookupHelper::PerformLookup(), SettingsWX::Read(), audacity::BasicSettings::Read(), CommandParameters::ReadAndVerify(), audacity::BasicSettings::ReadBool(), PluginManager::ReadCustomPaths(), audacity::BasicSettings::ReadDouble(), CommandParameters::ReadEnum(), CommandParameters::ReadFloat(), audacity::BasicSettings::ReadLong(), audacity::BasicSettings::ReadObject(), SettingsWX::Remove(), PluginManager::RemoveConfig(), PluginSettings::RemoveConfig(), anonymous_namespace{Registry.cpp}::ReportConflictingPlacements(), anonymous_namespace{Registry.cpp}::ReportGroupGroupCollision(), anonymous_namespace{Registry.cpp}::ReportItemItemCollision(), AudioUnitEffectBase::SaveSettings(), VampEffect::SaveSettings(), AVDictionaryWrapper::Set(), PluginSettings::SetConfig(), PluginManager::SetConfigValue(), PluginSettings::SetConfigValue(), KeyView::SetKey(), KeyView::SetKeyByName(), KeyConfigPrefs::SetKeyForSelected(), CommandParameters::SetParameters(), ShowWarningDialog(), PluginManager::StoreCustomPaths(), audacity::cloud::audiocom::anonymous_namespace{ServiceConfig.cpp}::Substitute(), GraphicsDataCache< CacheElementType >::UpdateElement(), SettingsWX::Write(), audacity::BasicSettings::Write(), CommandParameters::WriteEnum(), CommandParameters::WriteFloat(), ThemeBase::WriteImageMap(), and OpusExportProcessor::WriteTags().