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 "../TrackPanelAx.h"
#include "../commands/CommandContext.h"
#include "../commands/CommandManager.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)
 
BaseItemSharedPtr anonymous_namespace{NavigationMenus.cpp}::ExtraGlobalCommands ()
 
BaseItemSharedPtr 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 521 of file NavigationMenus.cpp.

Function Documentation

◆ findCommandHandler()

static CommandHandlerObject & findCommandHandler ( AudacityProject project)
static

Definition at line 515 of file NavigationMenus.cpp.

515 {
516 return project.AttachedObjects::Get< NavigationActions::Handler >( key );
517};
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 511 of file NavigationMenus.cpp.

Referenced by findCommandHandler().