MCPcopy Create free account
hub / github.com/AlexandreRouma/SDRPlusPlus / SetCurrentWindow

Function SetCurrentWindow

core/src/imgui/imgui.cpp:3006–3013  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3004}
3005
3006static void SetCurrentWindow(ImGuiWindow* window)
3007{
3008 ImGuiContext& g = *GImGui;
3009 g.CurrentWindow = window;
3010 g.CurrentTable = window && window->DC.CurrentTableIdx != -1 ? g.Tables.GetByIndex(window->DC.CurrentTableIdx) : NULL;
3011 if (window)
3012 g.FontSize = g.DrawListSharedData.FontSize = window->CalcFontSize();
3013}
3014
3015void ImGui::GcCompactTransientMiscBuffers()
3016{

Callers 2

BeginMethod · 0.85
EndMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected