Audacity 3.2.0
|
Public Member Functions | |
PopupMenuBuilder (PopupMenuTable &table, PopupMenuImpl &menu, void *pUserData) | |
Public Member Functions inherited from MenuRegistry::Visitor< PopupMenuTableTraits > | |
Visitor (VisitorFunctions< PopupMenuTableTraits > functions, std::function< void()> doSeparator) | |
Public Member Functions inherited from Registry::VisitorFunctions< PopupMenuTableTraits > | |
VisitorFunctions (Visitors &&visitors) | |
Type-erasing constructor. More... | |
void | BeginGroup (const GroupItem< PopupMenuTableTraits > &item, const Path &path) const |
Call-through for a decorating pre-visitor. More... | |
void | Visit (const SingleItem &item, const Path &path) const |
Call-through for a decorating leaf-visitor. More... | |
void | EndGroup (const GroupItem< PopupMenuTableTraits > &item, const Path &path) const |
Call-through for a decorating post-visitor. More... | |
Public Member Functions inherited from MenuRegistry::detail::VisitorBase | |
std::pair< bool, bool > | ShouldBeginGroup (const ItemProperties *pProperties) |
void | AfterBeginGroup (const ItemProperties *pProperties) |
bool | ShouldEndGroup (const ItemProperties *pProperties) |
bool | ShouldDoSeparator () |
Public Attributes | |
std::vector< std::unique_ptr< PopupMenuImpl > > | mMenus |
PopupMenuImpl * | mMenu |
PopupMenuImpl * | mRoot |
void *const | mpUserData |
Public Attributes inherited from MenuRegistry::detail::VisitorBase | |
std::vector< bool > | firstItem |
std::vector< bool > | needSeparator |
Additional Inherited Members | |
Public Types inherited from Registry::VisitorFunctions< PopupMenuTableTraits > | |
using | NodeTypes = detail::VisitedNodeTypes< PopupMenuTableTraits > |
using | LeafTypes = detail::VisitedLeafTypes< PopupMenuTableTraits > |
Definition at line 53 of file PopupMenuTable.cpp.
|
inline |
Definition at line 55 of file PopupMenuTable.cpp.
References PopupSubMenu::caption, PopupMenuTableEntry::CheckItem, TranslatableString::empty(), entry, PopupMenuTableEntry::Item, PopupMenuTableEntry::RadioItem, and TranslatableString::Translation().
PopupMenuImpl* anonymous_namespace{PopupMenuTable.cpp}::PopupMenuBuilder::mMenu |
Definition at line 118 of file PopupMenuTable.cpp.
std::vector< std::unique_ptr<PopupMenuImpl> > anonymous_namespace{PopupMenuTable.cpp}::PopupMenuBuilder::mMenus |
Definition at line 117 of file PopupMenuTable.cpp.
void* const anonymous_namespace{PopupMenuTable.cpp}::PopupMenuBuilder::mpUserData |
Definition at line 119 of file PopupMenuTable.cpp.
PopupMenuImpl * anonymous_namespace{PopupMenuTable.cpp}::PopupMenuBuilder::mRoot |
Definition at line 118 of file PopupMenuTable.cpp.