MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / nk_text

Function nk_text

extern/glfw/deps/nuklear.h:19278–19284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19276}
19277#endif
19278NK_API void
19279nk_text(struct nk_context *ctx, const char *str, int len, nk_flags alignment)
19280{
19281 NK_ASSERT(ctx);
19282 if (!ctx) return;
19283 nk_text_colored(ctx, str, len, alignment, ctx->style.text.color);
19284}
19285NK_API void
19286nk_text_wrap(struct nk_context *ctx, const char *str, int len)
19287{

Callers 2

nk_labelFunction · 0.70
nk_tooltipFunction · 0.70

Calls 1

nk_text_coloredFunction · 0.85

Tested by

no test coverage detected