| 11564 | } |
| 11565 | |
| 11566 | ImGuiSettingsHandler* 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 | |
| 11576 | void ImGui::ClearIniSettings() |
| 11577 | { |
nothing calls this directly
no test coverage detected