Audacity  3.0.3
Classes | Namespaces | Typedefs | Functions | Variables
Menus.cpp File Reference

Functions for building toobar menus and enabling and disabling items. More...

#include "Menus.h"
#include <wx/frame.h>
#include "Project.h"
#include "ProjectHistory.h"
#include "ProjectSettings.h"
#include "ProjectWindows.h"
#include "UndoManager.h"
#include "commands/CommandManager.h"
#include "toolbars/ToolManager.h"
#include "widgets/AudacityMessageBox.h"
#include "BasicUI.h"
#include <unordered_set>
#include <wx/menu.h>
#include <wx/windowptr.h>
Include dependency graph for Menus.cpp:

Go to the source code of this file.

Classes

struct  anonymous_namespace{Menus.cpp}::MenuItemVisitor
 
class  wxFrameEx
 

Namespaces

 MenuTable
 
 anonymous_namespace{Menus.cpp}
 

Typedefs

using anonymous_namespace{Menus.cpp}::Predicates = std::vector< ReservedCommandFlag::Predicate >
 
using anonymous_namespace{Menus.cpp}::MenuItemEnablers = std::vector< MenuItemEnabler >
 

Functions

static Registry::GroupItemanonymous_namespace{Menus.cpp}::sRegistry ()
 
Predicates & anonymous_namespace{Menus.cpp}::RegisteredPredicates ()
 
std::vector< CommandFlagOptions > & anonymous_namespace{Menus.cpp}::Options ()
 
MenuItemEnablers & anonymous_namespace{Menus.cpp}::Enablers ()
 

Variables

static const AudacityProject::AttachedObjects::RegisteredFactory key
 
const auto anonymous_namespace{Menus.cpp}::MenuPathStart = wxT("MenuBar")
 

Detailed Description

Functions for building toobar menus and enabling and disabling items.

Definition in file Menus.cpp.

Variable Documentation

◆ key

Initial value:
{
[]( AudacityProject &project ){
return std::make_shared< MenuManager >( project ); }
}

Definition at line 65 of file Menus.cpp.

Referenced by MenuManager::Get().

AudacityProject
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:92