| 7777 | } |
| 7778 | |
| 7779 | static void SetWindowActiveForSkipRefresh(ImGuiWindow* window) |
| 7780 | { |
| 7781 | window->Active = true; |
| 7782 | for (ImGuiWindow* child : window->DC.ChildWindows) |
| 7783 | if (!child->Hidden) |
| 7784 | { |
| 7785 | child->Active = child->SkipRefresh = true; |
| 7786 | SetWindowActiveForSkipRefresh(child); |
| 7787 | } |
| 7788 | } |
| 7789 | |
| 7790 | // Push a new Dear ImGui window to add widgets to. |
| 7791 | // - A default window called "Debug" is automatically stacked at the beginning of every frame so you can use widgets without explicitly calling a Begin/End pair. |