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

Method IsMouseDoubleClicked

src/imgui/imgui.cpp:9747–9752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9745}
9746
9747bool ImGui::IsMouseDoubleClicked(ImGuiMouseButton button)
9748{
9749 ImGuiContext& g = *GImGui;
9750 IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown));
9751 return g.IO.MouseClickedCount[button] == 2 && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any);
9752}
9753
9754bool ImGui::IsMouseDoubleClicked(ImGuiMouseButton button, ImGuiID owner_id)
9755{

Callers

nothing calls this directly

Calls 1

MouseButtonToKeyFunction · 0.85

Tested by

no test coverage detected