clap

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

commit be075e24c6a558fef857350bc06180851a49a7f9
parent 0dd499746127ec3144e5f51d309b55ddd89aa196
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Mon, 12 Dec 2022 10:51:13 +0100

use add_checkmark

Diffstat:
Minclude/clap/ext/draft/context-menu.h | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/include/clap/ext/draft/context-menu.h b/include/clap/ext/draft/context-menu.h @@ -13,8 +13,8 @@ extern "C" { // There can be different target kind for a context menu enum { - CLAP_CONTEXT_MENU_TARGET_KIND_GLOBAL, - CLAP_CONTEXT_MENU_TARGET_KIND_PARAM, + CLAP_CONTEXT_MENU_TARGET_KIND_GLOBAL = 0, + CLAP_CONTEXT_MENU_TARGET_KIND_PARAM = 1, }; // Describes the context menu target @@ -58,12 +58,12 @@ typedef struct clap_context_menu_builder { clap_id action_id); // accelerator may be null - bool(CLAP_ABI *add_checkbox)(const struct clap_context_menu_builder *builder, - const char *label, - const clap_context_menu_accelerator_t *accelerator, - bool is_enabled, - bool is_checked, - clap_id action_id); + bool(CLAP_ABI *add_checkmark)(const struct clap_context_menu_builder *builder, + const char *label, + const clap_context_menu_accelerator_t *accelerator, + bool is_enabled, + bool is_checked, + clap_id action_id); bool(CLAP_ABI *add_separator)(const struct clap_context_menu_builder *builder);