Browse Source

Merge pull request #1283 from onqtam/imgui_api

Added missing IMGUI_API to ImGuiTextFilter methods implemented in imgui.cpp
pull/993/merge
omar 7 years ago
committed by GitHub
parent
commit
34d09f2dc8
  1. 8
      imgui.h

8
imgui.h

@ -964,11 +964,11 @@ struct ImGuiTextFilter
ImVector<TextRange> Filters; ImVector<TextRange> Filters;
int CountGrep; int CountGrep;
ImGuiTextFilter(const char* default_filter = ""); IMGUI_API ImGuiTextFilter(const char* default_filter = "");
~ImGuiTextFilter() {} ~ImGuiTextFilter() {}
void Clear() { InputBuf[0] = 0; Build(); } void Clear() { InputBuf[0] = 0; Build(); }
bool Draw(const char* label = "Filter (inc,-exc)", float width = 0.0f); // Helper calling InputText+Build IMGUI_API bool 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; IMGUI_API 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();
}; };

Loading…
Cancel
Save