MCPcopy Create free account
hub / github.com/RenderKit/embree / SetCurrentWindow

Function SetCurrentWindow

tutorials/common/imgui/imgui.cpp:3466–3473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3464}
3465
3466static void SetCurrentWindow(ImGuiWindow* window)
3467{
3468 ImGuiContext& g = *GImGui;
3469 g.CurrentWindow = window;
3470 g.CurrentTable = window && window->DC.CurrentTableIdx != -1 ? g.Tables.GetByIndex(window->DC.CurrentTableIdx) : NULL;
3471 if (window)
3472 g.FontSize = g.DrawListSharedData.FontSize = window->CalcFontSize();
3473}
3474
3475void ImGui::GcCompactTransientMiscBuffers()
3476{

Callers 2

BeginMethod · 0.85
EndMethod · 0.85

Calls 1

GetByIndexMethod · 0.80

Tested by

no test coverage detected