Clear all settings (windows, tables, docking etc.)
| 16223 | |
| 16224 | // Clear all settings (windows, tables, docking etc.) |
| 16225 | void ImGui::ClearIniSettings() |
| 16226 | { |
| 16227 | ImGuiContext& g = *GImGui; |
| 16228 | g.SettingsIniData.clear(); |
| 16229 | for (ImGuiSettingsHandler& handler : g.SettingsHandlers) |
| 16230 | if (handler.ClearAllFn != NULL) |
| 16231 | handler.ClearAllFn(&g, &handler); |
| 16232 | } |
| 16233 | |
| 16234 | void ImGui::LoadIniSettingsFromDisk(const char* ini_filename) |
| 16235 | { |