MCPcopy Create free account
hub / github.com/Raais/ImStudio / FindSettingsHandler

Method FindSettingsHandler

src/third-party/imgui/imgui.cpp:11566–11574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11564}
11565
11566ImGuiSettingsHandler* ImGui::FindSettingsHandler(const char* type_name)
11567{
11568 ImGuiContext& g = *GImGui;
11569 const ImGuiID type_hash = ImHashStr(type_name);
11570 for (int handler_n = 0; handler_n < g.SettingsHandlers.Size; handler_n++)
11571 if (g.SettingsHandlers[handler_n].TypeHash == type_hash)
11572 return &g.SettingsHandlers[handler_n];
11573 return NULL;
11574}
11575
11576void ImGui::ClearIniSettings()
11577{

Callers

nothing calls this directly

Calls 1

ImHashStrFunction · 0.85

Tested by

no test coverage detected