MCPcopy Create free account
hub / github.com/DISTRHO/DPF / clap_gui_set_parent

Function clap_gui_set_parent

distrho/src/DistrhoPluginCLAP.cpp:2208–2214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2206}
2207
2208static bool CLAP_ABI clap_gui_set_parent(const clap_plugin_t* const plugin, const clap_window_t* const window)
2209{
2210 PluginCLAP* const instance = static_cast<PluginCLAP*>(plugin->plugin_data);
2211 ClapUI* const gui = instance->getUI();
2212 DISTRHO_SAFE_ASSERT_RETURN(gui != nullptr, false);
2213 return gui->setParent(window);
2214}
2215
2216static bool CLAP_ABI clap_gui_set_transient(const clap_plugin_t* const plugin, const clap_window_t* const window)
2217{

Callers

nothing calls this directly

Calls 2

getUIMethod · 0.80
setParentMethod · 0.80

Tested by

no test coverage detected