MCPcopy Create free account
hub / github.com/ShenCiao/CialloResearch / SetCurrentWindow

Function SetCurrentWindow

imgui/imgui.cpp:3774–3781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3772}
3773
3774static void SetCurrentWindow(ImGuiWindow* window)
3775{
3776 ImGuiContext& g = *GImGui;
3777 g.CurrentWindow = window;
3778 g.CurrentTable = window && window->DC.CurrentTableIdx != -1 ? g.Tables.GetByIndex(window->DC.CurrentTableIdx) : NULL;
3779 if (window)
3780 g.FontSize = g.DrawListSharedData.FontSize = window->CalcFontSize();
3781}
3782
3783void ImGui::GcCompactTransientMiscBuffers()
3784{

Callers 2

BeginMethod · 0.85
EndMethod · 0.85

Calls 1

GetByIndexMethod · 0.80

Tested by

no test coverage detected