| 18943 | } |
| 18944 | |
| 18945 | static void ImGui::DockNodeStartMouseMovingWindow(ImGuiDockNode* node, ImGuiWindow* window) |
| 18946 | { |
| 18947 | ImGuiContext& g = *GImGui; |
| 18948 | IM_ASSERT(node->WantMouseMove == true); |
| 18949 | StartMouseMovingWindow(window); |
| 18950 | g.ActiveIdClickOffset = g.IO.MouseClickedPos[0] - node->Pos; |
| 18951 | g.MovingWindow = window; // If we are docked into a non moveable root window, StartMouseMovingWindow() won't set g.MovingWindow. Override that decision. |
| 18952 | node->WantMouseMove = false; |
| 18953 | } |
| 18954 | |
| 18955 | // Update CentralNode, OnlyNodeWithWindows, LastFocusedNodeID. Copy window class. |
| 18956 | static void ImGui::DockNodeUpdateForRootNode(ImGuiDockNode* node) |
nothing calls this directly
no outgoing calls
no test coverage detected