clap

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

commit 6e5ff791929cb3bac34493058cd8c911f961711b
parent cca2403ab0fd1a36e2d3c4fd64e1c7b3dbbcb01c
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Wed, 25 May 2022 15:01:51 +0200

Update gui resize hints

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 @@ -82,6 +82,10 @@ typedef struct clap_window { // Information to improve window resizement when initiated by the host or window manager. typedef struct clap_gui_resize_hints { + bool can_resize_horizontally; + bool can_resize_vertically; + + // only if can resize horizontally and vertically bool preseve_aspect_ratio; uint32_t aspect_ratio_width; uint32_t aspect_ratio_height;