commit 38c67b66b09ebfaf0c89aa0b2a64ff9c1a4cdf57 parent 67d7a432b0f6f11aa306251614505e16bbf11109 Author: Alexandre BIQUE <bique.alexandre@gmail.com> Date: Sun, 25 Apr 2021 00:03:33 +0200 Add scaling factor Diffstat:
M | include/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 @@ -16,6 +16,10 @@ struct clap_plugin_gui { int32_t * width, int32_t * height); + // Sets the GUI scaling factor. + // [main-thread] + void (*set_scale)(struct clap_plugin *plugin, double scale); + void (*show)(struct clap_plugin *plugin); void (*hide)(struct clap_plugin *plugin);