MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / TextV

Method TextV

plugins/Cardinal/src/DearImGui/imgui_widgets.cpp:270–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270void ImGui::TextV(const char* fmt, va_list args)
271{
272 ImGuiWindow* window = GetCurrentWindow();
273 if (window->SkipItems)
274 return;
275
276 // FIXME-OPT: Handle the %s shortcut?
277 ImGuiContext& g = *GImGui;
278 const char* text_end = g.TempBuffer + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fmt, args);
279 TextEx(g.TempBuffer, text_end, ImGuiTextFlags_NoWidthForLargeClippedText);
280}
281
282void ImGui::TextColored(const ImVec4& col, const char* fmt, ...)
283{

Callers

nothing calls this directly

Calls 2

GetCurrentWindowFunction · 0.85
ImFormatStringVFunction · 0.85

Tested by

no test coverage detected