MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / create

Function create

src/AsyncDialog.cpp:140–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138};
139
140void create(const char* const message)
141{
142 MenuOverlay* const overlay = new MenuOverlay;
143 overlay->bgColor = nvgRGBAf(0, 0, 0, 0.33);
144
145 AsyncDialog* const dialog = new AsyncDialog(message);
146 overlay->addChild(dialog);
147
148 APP->scene->addChild(overlay);
149}
150
151void create(const char* const message, const std::function<void()> action)
152{

Callers 15

promptClearFunction · 0.85
loadTemplateFunction · 0.85
saveDialogFunction · 0.85
saveTemplateDialogFunction · 0.85
async_dialog_messageFunction · 0.85
fInitializerFunction · 0.85
uiFileBrowserSelectedFunction · 0.85
CardinalRemoteUIMethod · 0.85
promptClearFunction · 0.85
loadTemplateFunction · 0.85

Calls 2

nvgRGBAfFunction · 0.85
addChildMethod · 0.80

Tested by

no test coverage detected