| 9679 | } |
| 9680 | |
| 9681 | bool ImGui::IsMouseDown(ImGuiMouseButton button) |
| 9682 | { |
| 9683 | ImGuiContext& g = *GImGui; |
| 9684 | IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown)); |
| 9685 | return g.IO.MouseDown[button] && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any); // should be same as IsKeyDown(MouseButtonToKey(button), ImGuiKeyOwner_Any), but this allows legacy code hijacking the io.Mousedown[] array. |
| 9686 | } |
| 9687 | |
| 9688 | bool ImGui::IsMouseDown(ImGuiMouseButton button, ImGuiID owner_id) |
| 9689 | { |
nothing calls this directly
no test coverage detected