| 3133 | } |
| 3134 | |
| 3135 | static void SetCurrentWindow(ImGuiWindow* window) |
| 3136 | { |
| 3137 | ImGuiContext& g = *GImGui; |
| 3138 | g.CurrentWindow = window; |
| 3139 | g.CurrentTable = window && window->DC.CurrentTableIdx != -1 ? g.Tables.GetByIndex(window->DC.CurrentTableIdx) : NULL; |
| 3140 | if (window) |
| 3141 | g.FontSize = g.DrawListSharedData.FontSize = window->CalcFontSize(); |
| 3142 | } |
| 3143 | |
| 3144 | void ImGui::GcCompactTransientMiscBuffers() |
| 3145 | { |