| 7418 | } |
| 7419 | |
| 7420 | static void SetWindowActiveForSkipRefresh(ImGuiWindow* window) |
| 7421 | { |
| 7422 | window->Active = true; |
| 7423 | for (ImGuiWindow* child : window->DC.ChildWindows) |
| 7424 | if (!child->Hidden) |
| 7425 | { |
| 7426 | child->Active = child->SkipRefresh = true; |
| 7427 | SetWindowActiveForSkipRefresh(child); |
| 7428 | } |
| 7429 | } |
| 7430 | |
| 7431 | // Push a new Dear ImGui window to add widgets to. |
| 7432 | // - 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. |