Searched defs:ImGuiTextBuffer (Results 1 – 1 of 1) sorted by relevance
1580 struct ImGuiTextBuffer struct1585 ImGuiTextBuffer() { } in ImGuiTextBuffer() function1587 const char* begin() const { return Buf.Data ? &Buf.front() : EmptyString; } in begin()1588 …Buf.back() : EmptyString; } // Buf is zero-terminated, so end() will point on the zero-terminator in end()1589 int size() const { return Buf.Size ? Buf.Size - 1 : 0; } in size()1590 bool empty() { return Buf.Size <= 1; } in empty()1591 void clear() { Buf.clear(); } in clear()1592 void reserve(int capacity) { Buf.reserve(capacity); } in reserve()1593 const char* c_str() const { return Buf.Data ? Buf.Data : EmptyString; } in c_str()