-
Notifications
You must be signed in to change notification settings - Fork 345
Closed
Description
I was trying to use ImGuiTextFilter but couldn't find a c# example of it. I looked at the ImGui demo code example and tried to replicate that on ImGui.NET but failed. Here's the code I was using, let me know how to use this feature.
ImGuiTextFilter testing = new ImGuiTextFilter();
testing.draw()
I did find the ImGuiTextFilterPtr struct/class but not sure how to use it.
reference c++ eample
static ImGuiTextFilter filter;
filter.draw();
const char* lines[] = { "aaa1.c", "bbb1.c", "ccc1.c", "aaa2.cpp", "bbb2.cpp", "ccc2.cpp", "abc.h", "hello, world" };
for (int i = 0; i < IM_ARRAYSIZE(lines); i++)
if (filter.PassFilter(lines[i]))
ImGui::BulletText("%s", lines[i]);
prime31 and sa-exe
Metadata
Metadata
Assignees
Labels
No labels