ImGuiTextBuffer: Added append() function (unformatted).

This commit is contained in:
omar
2019-01-20 22:21:26 +01:00
parent 259f3c78a2
commit 00ffdb9fa9
3 changed files with 30 additions and 10 deletions

View File

@ -1586,6 +1586,7 @@ struct ImGuiTextBuffer
void clear() { Buf.clear(); }
void reserve(int capacity) { Buf.reserve(capacity); }
const char* c_str() const { return Buf.Data ? Buf.Data : EmptyString; }
IMGUI_API void append(const char* str, const char* str_end = NULL);
IMGUI_API void appendf(const char* fmt, ...) IM_FMTARGS(2);
IMGUI_API void appendfv(const char* fmt, va_list args) IM_FMTLIST(2);
};