Clear all settings (windows, tables, docking etc.)
| 13196 | |
| 13197 | // Clear all settings (windows, tables, docking etc.) |
| 13198 | void ImGui::ClearIniSettings() |
| 13199 | { |
| 13200 | ImGuiContext& g = *GImGui; |
| 13201 | g.SettingsIniData.clear(); |
| 13202 | for (ImGuiSettingsHandler& handler : g.SettingsHandlers) |
| 13203 | if (handler.ClearAllFn != NULL) |
| 13204 | handler.ClearAllFn(&g, &handler); |
| 13205 | } |
| 13206 | |
| 13207 | void ImGui::LoadIniSettingsFromDisk(const char* ini_filename) |
| 13208 | { |