MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / WindowSettingsHandler_ApplyAll

Function WindowSettingsHandler_ApplyAll

KBotExt/imgui/imgui.cpp:13160–13170  ·  view source on GitHub ↗

Apply to existing windows (if any)

Source from the content-addressed store, hash-verified

13158
13159// Apply to existing windows (if any)
13160static 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
13172static void WindowSettingsHandler_WriteAll(ImGuiContext* ctx, ImGuiSettingsHandler* handler, ImGuiTextBuffer* buf)
13173{

Callers

nothing calls this directly

Calls 3

ApplyWindowSettingsFunction · 0.85
next_chunkMethod · 0.80
beginMethod · 0.45

Tested by

no test coverage detected