MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / SetCurrentWindow

Function SetCurrentWindow

plugins/Cardinal/src/DearImGui/imgui.cpp:3135–3142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3133}
3134
3135static void SetCurrentWindow(ImGuiWindow* window)
3136{
3137 ImGuiContext& g = *GImGui;
3138 g.CurrentWindow = window;
3139 g.CurrentTable = window && window->DC.CurrentTableIdx != -1 ? g.Tables.GetByIndex(window->DC.CurrentTableIdx) : NULL;
3140 if (window)
3141 g.FontSize = g.DrawListSharedData.FontSize = window->CalcFontSize();
3142}
3143
3144void ImGui::GcCompactTransientMiscBuffers()
3145{

Callers 2

BeginMethod · 0.85
EndMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected