MCPcopy Create free account
hub / github.com/VCVRack/Rack / createMenuLabel

Function createMenuLabel

include/helpers.hpp:195–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193
194template <class TMenuLabel = ui::MenuLabel>
195TMenuLabel* createMenuLabel(std::string text) {
196 TMenuLabel* label = new TMenuLabel;
197 label->text = text;
198 return label;
199}
200
201
202template <class TMenuItem = ui::MenuItem>

Callers 15

appendContextMenuMethod · 0.85
createContextMenuMethod · 0.85
onActionMethod · 0.85
onActionMethod · 0.85
appendMidiMenuFunction · 0.85
appendPresetItemsFunction · 0.85
createContextMenuMethod · 0.85
createContextMenuMethod · 0.85
onActionMethod · 0.85
createChildMenuMethod · 0.85
refreshMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected