Lines Matching defs:prefix
3105 NK_API void nk_value_bool(struct nk_context*, const char *prefix, int);
3106 NK_API void nk_value_int(struct nk_context*, const char *prefix, int);
3107 NK_API void nk_value_uint(struct nk_context*, const char *prefix, unsigned int);
3108 NK_API void nk_value_float(struct nk_context*, const char *prefix, float);
3109 NK_API void nk_value_color_byte(struct nk_context*, const char *prefix, struct nk_color);
3110 NK_API void nk_value_color_float(struct nk_context*, const char *prefix, struct nk_color);
3111 NK_API void nk_value_color_hex(struct nk_context*, const char *prefix, struct nk_color);
5489 #define NK_CONFIGURATION_STACK_TYPE(prefix, name, type)\
5491 prefix##_##type *address;\
5492 prefix##_##type old_value;\
7143 int prefix, cur_width = NK_MAX(width, 0);
7157 prefix = (*num_iter == '.')?(int)(num_iter - number_buffer)+1:0;
7158 padding = NK_MAX(cur_width - (prefix + NK_MIN(cur_precision, num_len - prefix)) , 0);
14867 #define NK_STYLE_PUSH_IMPLEMENATION(prefix, type, stack) \
14868 nk_style_push_##type(struct nk_context *ctx, prefix##_##type *address, prefix##_##type value)\
19466 nk_value_bool(struct nk_context *ctx, const char *prefix, int value)
19468 nk_labelf(ctx, NK_TEXT_LEFT, "%s: %s", prefix, ((value) ? "true": "false"));
19471 nk_value_int(struct nk_context *ctx, const char *prefix, int value)
19473 nk_labelf(ctx, NK_TEXT_LEFT, "%s: %d", prefix, value);
19476 nk_value_uint(struct nk_context *ctx, const char *prefix, unsigned int value)
19478 nk_labelf(ctx, NK_TEXT_LEFT, "%s: %u", prefix, value);
19481 nk_value_float(struct nk_context *ctx, const char *prefix, float value)
19484 nk_labelf(ctx, NK_TEXT_LEFT, "%s: %.3f", prefix, double_value);
19499 nk_value_color_hex(struct nk_context *ctx, const char *prefix, struct nk_color color)
19503 nk_labelf(ctx, NK_TEXT_LEFT, "%s: %s", prefix, hex);