MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/Cauldron / SetCurrentWindow

Function SetCurrentWindow

libs/imgui/imgui.cpp:1916–1922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1914//-----------------------------------------------------------------------------
1915
1916static void SetCurrentWindow(ImGuiWindow* window)
1917{
1918 ImGuiContext& g = *GImGui;
1919 g.CurrentWindow = window;
1920 if (window)
1921 g.FontSize = g.DrawListSharedData.FontSize = window->CalcFontSize();
1922}
1923
1924void ImGui::SetActiveID(ImGuiID id, ImGuiWindow* window)
1925{

Callers 2

BeginMethod · 0.85
EndMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected