Clear all settings (windows, tables, docking etc.)
| 15561 | |
| 15562 | // Clear all settings (windows, tables, docking etc.) |
| 15563 | void ImGui::ClearIniSettings() |
| 15564 | { |
| 15565 | ImGuiContext& g = *GImGui; |
| 15566 | g.SettingsIniData.clear(); |
| 15567 | for (ImGuiSettingsHandler& handler : g.SettingsHandlers) |
| 15568 | if (handler.ClearAllFn != NULL) |
| 15569 | handler.ClearAllFn(&g, &handler); |
| 15570 | } |
| 15571 | |
| 15572 | void ImGui::LoadIniSettingsFromDisk(const char* ini_filename) |
| 15573 | { |