MCPcopy Create free account
hub / github.com/VictorGordan/opengl-tutorials / SetCurrentWindow

Function SetCurrentWindow

ImGUI GLFW Tutorial/imgui/imgui.cpp:3003–3010  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

BeginMethod · 0.70
EndMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected