Home
last modified time | relevance | path

Searched defs:ImGuiTextBuffer (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui.h1580 struct ImGuiTextBuffer struct
1585 ImGuiTextBuffer() { } in ImGuiTextBuffer() function
1587 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()