| 9745 | } |
| 9746 | |
| 9747 | bool ImGui::IsMouseDoubleClicked(ImGuiMouseButton button) |
| 9748 | { |
| 9749 | ImGuiContext& g = *GImGui; |
| 9750 | IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); |
| 9751 | return g.IO.MouseClickedCount[button] == 2 && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any); |
| 9752 | } |
| 9753 | |
| 9754 | bool ImGui::IsMouseDoubleClicked(ImGuiMouseButton button, ImGuiID owner_id) |
| 9755 | { |
nothing calls this directly
no test coverage detected