Log/Capture: Added LogTextV, a va_list variant of LogText. (#3828)

This commit is contained in:
David Maas
2021-02-22 04:58:51 -06:00
committed by GitHub
parent a8f76c23a4
commit ece854564a
3 changed files with 23 additions and 7 deletions

View File

@ -748,6 +748,7 @@ namespace ImGui
IMGUI_API void LogFinish(); // stop logging (close file, etc.)
IMGUI_API void LogButtons(); // helper to display buttons for logging to tty/file/clipboard
IMGUI_API void LogText(const char* fmt, ...) IM_FMTARGS(1); // pass text data straight to log (without being displayed)
IMGUI_API void LogTextV(const char* fmt, va_list args) IM_FMTLIST(1);
// Drag and Drop
// - If you stop calling BeginDragDropSource() the payload is preserved however it won't have a preview tooltip (we currently display a fallback "..." tooltip as replacement)