| 3464 | } |
| 3465 | |
| 3466 | static void SetCurrentWindow(ImGuiWindow* window) |
| 3467 | { |
| 3468 | ImGuiContext& g = *GImGui; |
| 3469 | g.CurrentWindow = window; |
| 3470 | g.CurrentTable = window && window->DC.CurrentTableIdx != -1 ? g.Tables.GetByIndex(window->DC.CurrentTableIdx) : NULL; |
| 3471 | if (window) |
| 3472 | g.FontSize = g.DrawListSharedData.FontSize = window->CalcFontSize(); |
| 3473 | } |
| 3474 | |
| 3475 | void ImGui::GcCompactTransientMiscBuffers() |
| 3476 | { |
no test coverage detected