| 8310 | } |
| 8311 | |
| 8312 | bool ImGui::IsMouseReleased(ImGuiMouseButton button) |
| 8313 | { |
| 8314 | ImGuiContext& g = *GImGui; |
| 8315 | IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); |
| 8316 | return g.IO.MouseReleased[button] && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any); // Should be same as IsKeyReleased(MouseButtonToKey(button), ImGuiKeyOwner_Any) |
| 8317 | } |
| 8318 | |
| 8319 | bool ImGui::IsMouseReleased(ImGuiMouseButton button, ImGuiID owner_id) |
| 8320 | { |
nothing calls this directly
no test coverage detected