Apply to existing windows (if any)
| 13158 | |
| 13159 | // Apply to existing windows (if any) |
| 13160 | static void WindowSettingsHandler_ApplyAll(ImGuiContext* ctx, ImGuiSettingsHandler*) |
| 13161 | { |
| 13162 | ImGuiContext& g = *ctx; |
| 13163 | for (ImGuiWindowSettings* settings = g.SettingsWindows.begin(); settings != NULL; settings = g.SettingsWindows.next_chunk(settings)) |
| 13164 | if (settings->WantApply) |
| 13165 | { |
| 13166 | if (ImGuiWindow* window = ImGui::FindWindowByID(settings->ID)) |
| 13167 | ApplyWindowSettings(window, settings); |
| 13168 | settings->WantApply = false; |
| 13169 | } |
| 13170 | } |
| 13171 | |
| 13172 | static void WindowSettingsHandler_WriteAll(ImGuiContext* ctx, ImGuiSettingsHandler* handler, ImGuiTextBuffer* buf) |
| 13173 | { |
nothing calls this directly
no test coverage detected