MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / SetCurrentWindow

Function SetCurrentWindow

KBotExt/imgui/imgui.cpp:3790–3800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3788}
3789
3790static void SetCurrentWindow(ImGuiWindow* window)
3791{
3792 ImGuiContext& g = *GImGui;
3793 g.CurrentWindow = window;
3794 g.CurrentTable = window && window->DC.CurrentTableIdx != -1 ? g.Tables.GetByIndex(window->DC.CurrentTableIdx) : NULL;
3795 if (window)
3796 {
3797 g.FontSize = g.DrawListSharedData.FontSize = window->CalcFontSize();
3798 ImGui::NavUpdateCurrentWindowIsScrollPushableX();
3799 }
3800}
3801
3802void ImGui::GcCompactTransientMiscBuffers()
3803{

Callers 2

BeginMethod · 0.85
EndMethod · 0.85

Calls 1

GetByIndexMethod · 0.80

Tested by

no test coverage detected