commit db714f0a2f73f866fdb60d593d1a5f1966e332cf parent 5f6121aba00cd6f91213eff01a486d3e8cb78e91 Author: Dalton Messmer <33463986+messmerd@users.noreply.github.com> Date: Thu, 2 Nov 2023 19:37:50 -0400 Update wording Diffstat:
M | include/clap/ext/params.h | | | 7 | +++---- |
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/include/clap/ext/params.h b/include/clap/ext/params.h @@ -196,10 +196,9 @@ enum { // processed. CLAP_PARAM_REQUIRES_PROCESS = 1 << 15, - // The parameter represents a set of named options mapped to integers. - // It implies that the parameter is stepped. - // - // This flag may help the host decide how to present the parameter to users. + // Indicates that this parameter represents an enumerated value. + // If you set this flag, then you must set CLAP_PARAM_IS_STEPPED too. + // All values from min to max must have a non blank value_to_text(). CLAP_PARAM_IS_ENUM = 1 << 16, }; typedef uint32_t clap_param_info_flags;