| 268 | } |
| 269 | |
| 270 | void 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 | |
| 282 | void ImGui::TextColored(const ImVec4& col, const char* fmt, ...) |
| 283 | { |
nothing calls this directly
no test coverage detected