MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / IsMouseReleased

Method IsMouseReleased

KBotExt/imgui/imgui.cpp:8312–8317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8310}
8311
8312bool 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
8319bool ImGui::IsMouseReleased(ImGuiMouseButton button, ImGuiID owner_id)
8320{

Callers

nothing calls this directly

Calls 1

MouseButtonToKeyFunction · 0.85

Tested by

no test coverage detected