Skip to content

Commit

Permalink
resolved linker error that results when building as DLL and using ImG…
Browse files Browse the repository at this point in the history
…uiTextFilter class
  • Loading branch information
jawilkins committed Mar 8, 2017
1 parent 393f9f3 commit c2e0881
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions imgui.h
Original file line number Diff line number Diff line change
Expand Up @@ -937,11 +937,11 @@ struct ImGuiTextFilter
ImVector<TextRange> Filters;
int CountGrep;

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

0 comments on commit c2e0881

Please sign in to comment.