MCPcopy Create free account
hub / github.com/audacity/audacity / ExtendMenu

Method ExtendMenu

src/widgets/PopupMenuTable.cpp:137–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137void PopupMenuTable::ExtendMenu( PopupMenu &menu, PopupMenuTable &table )
138{
139 auto &theMenu = dynamic_cast<PopupMenuImpl&>(menu);
140
141 PopupMenuBuilder visitor{ table, theMenu, theMenu.pUserData };
142 Registry::VisitWithFunctions(visitor, table.Get(theMenu.pUserData).get(),
143 table.GetRegistry(), table);
144}
145
146void PopupMenuTable::Append(
147 const Identifier &stringId, PopupMenuTableEntry::Type type, int id,

Callers

nothing calls this directly

Calls 3

VisitWithFunctionsFunction · 0.85
getMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected