|
|
@ -850,7 +850,7 @@ struct ImGuiTextFilter |
|
|
|
|
|
|
|
|
|
|
|
ImGuiTextFilter(const char* default_filter = ""); |
|
|
|
ImGuiTextFilter(const char* default_filter = ""); |
|
|
|
void Clear() { InputBuf[0] = 0; Build(); } |
|
|
|
void Clear() { InputBuf[0] = 0; Build(); } |
|
|
|
void Draw(const char* label = "Filter (inc,-exc)", float width = -1.0f); // Helper calling InputText+Build
|
|
|
|
void Draw(const char* label = "Filter (inc,-exc)", float width = 0.0f); // Helper calling InputText+Build
|
|
|
|
bool PassFilter(const char* text, const char* text_end = NULL) const; |
|
|
|
bool PassFilter(const char* text, const char* text_end = NULL) const; |
|
|
|
bool IsActive() const { return !Filters.empty(); } |
|
|
|
bool IsActive() const { return !Filters.empty(); } |
|
|
|
IMGUI_API void Build(); |
|
|
|
IMGUI_API void Build(); |
|
|
|