Lines Matching defs:fmt
2349 /// void nk_layout_row_begin(struct nk_context *ctx, enum nk_layout_format fmt, float row_height, int cols);
2359 NK_API void nk_layout_row_begin(struct nk_context *ctx, enum nk_layout_format fmt, float row_height, int cols);
2369 /// __value__ | either a window ratio or fixed width depending on @fmt in previous `nk_layout_row_begin` call
5826 NK_LIB int nk_strfmt(char *buf, int buf_size, const char *fmt, va_list args);
5907 NK_LIB void nk_row_layout(struct nk_context *ctx, enum nk_layout_format fmt, float height, int cols, int width);
5978 NK_LIB int nk_do_color_picker(nk_flags *state, struct nk_command_buffer *out, struct nk_colorf *col, enum nk_color_format fmt, struct nk_rect bounds, struct nk_vec2 padding, const struct nk_input *in, const struct nk_user_font *font);
6895 nk_vsnprintf(char *buf, int buf_size, const char *fmt, va_list args)
6919 const char *iter = fmt;
6923 if (!buf || !buf_size || !fmt) return 0;
6924 for (iter = fmt; *iter && len < buf_size; iter++) {
7214 nk_strfmt(char *buf, int buf_size, const char *fmt, va_list args)
7219 if (!buf || !buf_size || !fmt) return 0;
7221 result = NK_VSNPRINTF(buf, (nk_size)buf_size, fmt, args);
7225 result = nk_vsnprintf(buf, buf_size, fmt, args);
13713 enum nk_font_atlas_format fmt)
13775 if (fmt == NK_FONT_ATLAS_RGBA32) {
17690 nk_row_layout(struct nk_context *ctx, enum nk_layout_format fmt,
17703 if (fmt == NK_DYNAMIC)
17733 nk_layout_row_begin(struct nk_context *ctx, enum nk_layout_format fmt,
17748 if (fmt == NK_DYNAMIC)
17805 nk_layout_row(struct nk_context *ctx, enum nk_layout_format fmt,
17822 if (fmt == NK_DYNAMIC) {
17982 nk_layout_space_begin(struct nk_context *ctx, enum nk_layout_format fmt,
17997 if (fmt == NK_STATIC)
19399 struct nk_color color, const char *fmt, ...)
19402 va_start(args, fmt);
19403 nk_labelfv_colored(ctx, flags, color, fmt, args);
19408 const char *fmt, ...)
19411 va_start(args, fmt);
19412 nk_labelfv_colored_wrap(ctx, color, fmt, args);
19416 nk_labelf(struct nk_context *ctx, nk_flags flags, const char *fmt, ...)
19419 va_start(args, fmt);
19420 nk_labelfv(ctx, flags, fmt, args);
19424 nk_labelf_wrap(struct nk_context *ctx, const char *fmt,...)
19427 va_start(args, fmt);
19428 nk_labelfv_wrap(ctx, fmt, args);
19433 struct nk_color color, const char *fmt, va_list args)
19436 nk_strfmt(buf, NK_LEN(buf), fmt, args);
19442 const char *fmt, va_list args)
19445 nk_strfmt(buf, NK_LEN(buf), fmt, args);
19450 nk_labelfv(struct nk_context *ctx, nk_flags flags, const char *fmt, va_list args)
19453 nk_strfmt(buf, NK_LEN(buf), fmt, args);
19458 nk_labelfv_wrap(struct nk_context *ctx, const char *fmt, va_list args)
19461 nk_strfmt(buf, NK_LEN(buf), fmt, args);
24464 enum nk_color_format fmt, struct nk_rect bounds,
24503 (fmt == NK_RGBA) ? &alpha_bar:0, col, in);
24504 nk_draw_color_picker(out, &matrix, &hue_bar, (fmt == NK_RGBA) ? &alpha_bar:0, *col);
24509 enum nk_color_format fmt)
24532 return nk_do_color_picker(&ctx->last_widget_state, &win->buffer, color, fmt, bounds,
24537 enum nk_color_format fmt)
24539 nk_color_pick(ctx, &color, fmt);
25402 nk_tooltipf(struct nk_context *ctx, const char *fmt, ...)
25405 va_start(args, fmt);
25406 nk_tooltipfv(ctx, fmt, args);
25410 nk_tooltipfv(struct nk_context *ctx, const char *fmt, va_list args)
25413 nk_strfmt(buf, NK_LEN(buf), fmt, args);