| 9506 | } |
| 9507 | |
| 9508 | ImGuiSettingsHandler* ImGui::FindSettingsHandler(const char* type_name) |
| 9509 | { |
| 9510 | ImGuiContext& g = *GImGui; |
| 9511 | const ImGuiID type_hash = ImHashStr(type_name); |
| 9512 | for (int handler_n = 0; handler_n < g.SettingsHandlers.Size; handler_n++) |
| 9513 | if (g.SettingsHandlers[handler_n].TypeHash == type_hash) |
| 9514 | return &g.SettingsHandlers[handler_n]; |
| 9515 | return NULL; |
| 9516 | } |
| 9517 | |
| 9518 | // Zero-tolerance, no error reporting, cheap .ini parsing |
| 9519 | void ImGui::LoadIniSettingsFromMemory(const char* ini_data, size_t ini_size) |
nothing calls this directly
no test coverage detected