| 3001 | } |
| 3002 | |
| 3003 | static 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 | |
| 3012 | void ImGui::GcCompactTransientMiscBuffers() |
| 3013 | { |