clap

CLAP Audio Plugin API
Log | Files | Refs | README | LICENSE

commit b9782c1bb830c8923fb3ff88f553d4035266da61
parent 35e747cf98bb96e8af58ee74b8c8b605bc36db99
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Mon, 20 Jun 2016 17:22:52 +0200

Make sense to be able to hide a plugin window, especially if you don't embed it

Diffstat:
Minclude/clap/ext/gui.h | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/clap/ext/gui.h b/include/clap/ext/gui.h @@ -9,6 +9,7 @@ struct clap_plugin_gui { /* gui */ bool (*open)(struct clap_plugin *plugin); + void (*hide)(struct clap_plugin *plugin); void (*close)(struct clap_plugin *plugin); }; @@ -17,6 +18,9 @@ struct clap_host_gui void (*gui_opened)(struct clap_host *host, struct clap_plugin *plugin); + void (*gui_hidden)(struct clap_host *host, + struct clap_plugin *plugin); + void (*gui_closed)(struct clap_host *host, struct clap_plugin *plugin); };