MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / ImGuiTextFilter

Method ImGuiTextFilter

examples/ThirdPartyLibs/imgui/imgui.cpp:1707–1719  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1705
1706// Helper: Parse and apply text filters. In format "aaaaa[,bbbb][,ccccc]"
1707ImGuiTextFilter::ImGuiTextFilter(const char* default_filter)
1708{
1709 if (default_filter)
1710 {
1711 ImStrncpy(InputBuf, default_filter, IM_ARRAYSIZE(InputBuf));
1712 Build();
1713 }
1714 else
1715 {
1716 InputBuf[0] = 0;
1717 CountGrep = 0;
1718 }
1719}
1720
1721bool ImGuiTextFilter::Draw(const char* label, float width)
1722{

Callers

nothing calls this directly

Calls 1

ImStrncpyFunction · 0.85

Tested by

no test coverage detected