Apply to existing windows (if any)
| 11245 | |
| 11246 | // Apply to existing windows (if any) |
| 11247 | static void WindowSettingsHandler_ApplyAll(ImGuiContext* ctx, ImGuiSettingsHandler*) |
| 11248 | { |
| 11249 | ImGuiContext& g = *ctx; |
| 11250 | for (ImGuiWindowSettings* settings = g.SettingsWindows.begin(); settings != NULL; settings = g.SettingsWindows.next_chunk(settings)) |
| 11251 | if (settings->WantApply) |
| 11252 | { |
| 11253 | if (ImGuiWindow* window = ImGui::FindWindowByID(settings->ID)) |
| 11254 | ApplyWindowSettings(window, settings); |
| 11255 | settings->WantApply = false; |
| 11256 | } |
| 11257 | } |
| 11258 | |
| 11259 | static void WindowSettingsHandler_WriteAll(ImGuiContext* ctx, ImGuiSettingsHandler* handler, ImGuiTextBuffer* buf) |
| 11260 | { |
nothing calls this directly
no test coverage detected