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

Function clap_gui_hide

distrho/src/DistrhoPluginCLAP.cpp:2240–2246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2238}
2239
2240static bool CLAP_ABI clap_gui_hide(const clap_plugin_t* const plugin)
2241{
2242 PluginCLAP* const instance = static_cast<PluginCLAP*>(plugin->plugin_data);
2243 ClapUI* const gui = instance->getUI();
2244 DISTRHO_SAFE_ASSERT_RETURN(gui != nullptr, false);
2245 return gui->hide();
2246}
2247
2248static const clap_plugin_gui_t clap_plugin_gui = {
2249 clap_gui_is_api_supported,

Callers

nothing calls this directly

Calls 2

getUIMethod · 0.80
hideMethod · 0.45

Tested by

no test coverage detected