MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / ImGuiTextFilter

Method ImGuiTextFilter

KBotExt/imgui/imgui.cpp:2499–2508  ·  view source on GitHub ↗

Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]"

Source from the content-addressed store, hash-verified

2497
2498// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]"
2499ImGuiTextFilter::ImGuiTextFilter(const char* default_filter) //-V1077
2500{
2501 InputBuf[0] = 0;
2502 CountGrep = 0;
2503 if (default_filter)
2504 {
2505 ImStrncpy(InputBuf, default_filter, IM_ARRAYSIZE(InputBuf));
2506 Build();
2507 }
2508}
2509
2510bool ImGuiTextFilter::Draw(const char* label, float width)
2511{

Callers

nothing calls this directly

Calls 1

ImStrncpyFunction · 0.85

Tested by

no test coverage detected