MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / IsMouseReleased

Method IsMouseReleased

imgui_tiny_app/imgui/imgui.cpp:10536–10541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10534}
10535
10536bool ImGui::IsMouseReleased(ImGuiMouseButton button)
10537{
10538 ImGuiContext& g = *GImGui;
10539 IM_ASSERT(button >= 0 && button < IM_COUNTOF(g.IO.MouseDown));
10540 return g.IO.MouseReleased[button] && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any); // Should be same as IsKeyReleased(MouseButtonToKey(button), ImGuiKeyOwner_Any)
10541}
10542
10543bool ImGui::IsMouseReleased(ImGuiMouseButton button, ImGuiID owner_id)
10544{

Callers

nothing calls this directly

Calls 1

MouseButtonToKeyFunction · 0.85

Tested by

no test coverage detected