MCPcopy Create free account
hub / github.com/cinder/Cinder / IsMouseReleased

Method IsMouseReleased

src/imgui/imgui.cpp:9722–9727  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9720}
9721
9722bool ImGui::IsMouseReleased(ImGuiMouseButton button)
9723{
9724 ImGuiContext& g = *GImGui;
9725 IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown));
9726 return g.IO.MouseReleased[button] && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any); // Should be same as IsKeyReleased(MouseButtonToKey(button), ImGuiKeyOwner_Any)
9727}
9728
9729bool ImGui::IsMouseReleased(ImGuiMouseButton button, ImGuiID owner_id)
9730{

Callers

nothing calls this directly

Calls 1

MouseButtonToKeyFunction · 0.85

Tested by

no test coverage detected