| 2036 | } |
| 2037 | |
| 2038 | bool ImGuiTextFilter::Draw(const char* label, float width) |
| 2039 | { |
| 2040 | if (width != 0.0f) |
| 2041 | ImGui::SetNextItemWidth(width); |
| 2042 | bool value_changed = ImGui::InputText(label, InputBuf, IM_ARRAYSIZE(InputBuf)); |
| 2043 | if (value_changed) |
| 2044 | Build(); |
| 2045 | return value_changed; |
| 2046 | } |
| 2047 | |
| 2048 | void ImGuiTextFilter::ImGuiTextRange::split(char separator, ImVector<ImGuiTextRange>* out) const |
| 2049 | { |
no outgoing calls
no test coverage detected