MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / SetCurrentWindow

Function SetCurrentWindow

extern/imgui/imgui.cpp:3546–3553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3544}
3545
3546static void SetCurrentWindow(ImGuiWindow* window)
3547{
3548 ImGuiContext& g = *GImGui;
3549 g.CurrentWindow = window;
3550 g.CurrentTable = window && window->DC.CurrentTableIdx != -1 ? g.Tables.GetByIndex(window->DC.CurrentTableIdx) : NULL;
3551 if (window)
3552 g.FontSize = g.DrawListSharedData.FontSize = window->CalcFontSize();
3553}
3554
3555void ImGui::GcCompactTransientMiscBuffers()
3556{

Callers 2

BeginMethod · 0.85
EndMethod · 0.85

Calls 1

GetByIndexMethod · 0.80

Tested by

no test coverage detected