| 8274 | } |
| 8275 | |
| 8276 | bool ImGui::IsMouseDoubleClicked(ImGuiMouseButton button) |
| 8277 | { |
| 8278 | ImGuiContext& g = *GImGui; |
| 8279 | IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); |
| 8280 | return g.IO.MouseClickedCount[button] == 2 && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any); |
| 8281 | } |
| 8282 | |
| 8283 | int ImGui::GetMouseClickedCount(ImGuiMouseButton button) |
| 8284 | { |
nothing calls this directly
no test coverage detected