clap

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

commit d3927ca714faf2eb529f54fa35f73a6574bc7ad1
parent 057615bfc2aa8368b79f1369b615381b968cd3cb
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date:   Thu, 17 Feb 2022 17:37:02 +0100

rename round_size() to compute_size_to_fit()

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

diff --git a/include/clap/ext/gui.h b/include/clap/ext/gui.h @@ -66,12 +66,11 @@ typedef struct clap_plugin_gui { bool (*can_resize)(const clap_plugin_t *plugin); // If the plugin gui is resizable, then the plugin will calculate the closest - // usable size to the given arguments. - // The scaling is applied. + // usable size which fits in the given size. // This method does not change the size. // // [main-thread] - void (*round_size)(const clap_plugin_t *plugin, uint32_t *width, uint32_t *height); + void (*compute_size_to_fit)(const clap_plugin_t *plugin, uint32_t *width, uint32_t *height); // Sets the window size // Returns true if the size is supported.