MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / SetCurrentWindow

Function SetCurrentWindow

lib/imgui/imgui.cpp:2724–2730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2722}
2723
2724static void SetCurrentWindow(ImGuiWindow* window)
2725{
2726 ImGuiContext& g = *GImGui;
2727 g.CurrentWindow = window;
2728 if (window)
2729 g.FontSize = g.DrawListSharedData.FontSize = window->CalcFontSize();
2730}
2731
2732// Free up/compact internal window buffers, we can use this when a window becomes unused.
2733// This is currently unused by the library, but you may call this yourself for easy GC.

Callers 2

BeginMethod · 0.85
EndMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected