Audacity 3.2.0
|
#include "Callable.h"
#include "MemoryX.h"
#include "CommandFunctors.h"
#include "CommandFlag.h"
#include "Registry.h"
#include <functional>
Go to the source code of this file.
Classes | |
struct | MenuRegistry::Options |
struct | MenuRegistry::ItemProperties |
A mix-in discovered by dynamic_cast; independent of the Traits. More... | |
struct | MenuRegistry::detail::VisitorBase |
struct | MenuRegistry::Visitor< MenuTraits > |
struct | MenuRegistry::Traits |
struct | MenuRegistry::MenuItemData |
struct | MenuRegistry::MenuItem |
struct | MenuRegistry::ConditionalGroupItem |
class | MenuRegistry::FinderScope |
struct | MenuRegistry::CommandItem |
struct | MenuRegistry::CommandGroupItem |
struct | MenuRegistry::SpecialItem |
struct | MenuRegistry::MenuItems |
struct | MenuRegistry::MenuPart |
struct | MenuRegistry::ItemRegistry |
Namespaces | |
namespace | MenuRegistry |
namespace | MenuRegistry::detail |
Typedefs | |
using | CommandParameter = CommandID |
using | MenuRegistry::CheckFn = std::function< bool(AudacityProject &) > |
using | MenuRegistry::Condition = std::function< bool()> |
using | MenuRegistry::AttachedItem = RegisteredItem< ItemRegistry > |
Functions | |
template<typename RegistryTraits > | |
static bool | MenuRegistry::IsSection (const GroupItem< RegistryTraits > &item) |
MENUS_API void | MenuRegistry::Visit (Visitor< Traits > &visitor, AudacityProject &project) |
Variables | |
Factories | |
The following, and Registry::Indirect(), are the functions to use directly to specify elements of menu groupings. | |
constexpr auto | MenuRegistry::Items = Callable::UniqueMaker<MenuItems>() |
constexpr auto | MenuRegistry::Section = Callable::UniqueMaker<MenuPart>() |
constexpr auto | MenuRegistry::Menu = Callable::UniqueMaker<MenuItem>() |
Items will appear in a main toolbar menu or in a sub-menu. More... | |
constexpr auto | MenuRegistry::ConditionalItems = Callable::UniqueMaker<ConditionalGroupItem>() |
constexpr auto | MenuRegistry::Command = Callable::UniqueMaker<CommandItem>() |
constexpr auto | MenuRegistry::CommandGroup |
using CommandParameter = CommandID |
Definition at line 24 of file MenuRegistry.h.