MCPcopy Create free account
hub / github.com/RenderKit/embree / IsMouseReleased

Method IsMouseReleased

tutorials/common/imgui/imgui.cpp:8262–8267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8260}
8261
8262bool ImGui::IsMouseReleased(ImGuiMouseButton button)
8263{
8264 ImGuiContext& g = *GImGui;
8265 IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown));
8266 return g.IO.MouseReleased[button] && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any); // Should be same as IsKeyReleased(MouseButtonToKey(button), ImGuiKeyOwner_Any)
8267}
8268
8269bool ImGui::IsMouseReleased(ImGuiMouseButton button, ImGuiID owner_id)
8270{

Callers

nothing calls this directly

Calls 1

MouseButtonToKeyFunction · 0.85

Tested by

no test coverage detected