| 1914 | //----------------------------------------------------------------------------- |
| 1915 | |
| 1916 | static 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 | |
| 1924 | void ImGui::SetActiveID(ImGuiID id, ImGuiWindow* window) |
| 1925 | { |