clap

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

commit 0e85615ba1c40861f752b9f8cb29083adee5b780
parent 8bb7223f74ae9adea542b9d64ae250d11f7ba1b5
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Wed,  4 Jan 2023 12:03:12 +0100

Doc.

Diffstat:
Minclude/clap/factory/draft/preset-discovery.h | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/include/clap/factory/draft/preset-discovery.h b/include/clap/factory/draft/preset-discovery.h @@ -170,6 +170,10 @@ typedef struct clap_preset_discovery_filetype { // If empty or NULL then every file should be matched. const char *file_extension; + // This icon will be associated with the filetype. + // It comes in multiple variations but the plugin can use 4 times the same image. + // small shall have less details than the large one. + // light and dark variation, so the host can pick the one that works better with its background. const char *icon_uri_small_light; const char *icon_uri_small_dark; const char *icon_uri_large_light; @@ -199,6 +203,7 @@ typedef struct clap_preset_discovery_collection { const char *name; // name of this collection const char *description; // reasonably short description of the collection const char *homepage_url; // url to the pack's homepage + const char *image_uri; // may be an image on disk or from an http server } clap_preset_discovery_collection_t;