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

Method IsMouseDoubleClicked

KBotExt/imgui/imgui.cpp:8326–8331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8324}
8325
8326bool ImGui::IsMouseDoubleClicked(ImGuiMouseButton button)
8327{
8328 ImGuiContext& g = *GImGui;
8329 IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown));
8330 return g.IO.MouseClickedCount[button] == 2 && TestKeyOwner(MouseButtonToKey(button), ImGuiKeyOwner_Any);
8331}
8332
8333int ImGui::GetMouseClickedCount(ImGuiMouseButton button)
8334{

Callers

nothing calls this directly

Calls 1

MouseButtonToKeyFunction · 0.85

Tested by

no test coverage detected