MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / WindowSettingsHandler_ApplyAll

Function WindowSettingsHandler_ApplyAll

plugins/Cardinal/src/DearImGui/imgui.cpp:11247–11257  ·  view source on GitHub ↗

Apply to existing windows (if any)

Source from the content-addressed store, hash-verified

11245
11246// Apply to existing windows (if any)
11247static 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
11259static void WindowSettingsHandler_WriteAll(ImGuiContext* ctx, ImGuiSettingsHandler* handler, ImGuiTextBuffer* buf)
11260{

Callers

nothing calls this directly

Calls 2

ApplyWindowSettingsFunction · 0.85
beginMethod · 0.45

Tested by

no test coverage detected