MCPcopy Create free account
hub / github.com/Wemino/EchoPatch / GetMouseClickedCount

Method GetMouseClickedCount

include/imgui/imgui.cpp:9934–9939  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9932}
9933
9934int ImGui::GetMouseClickedCount(ImGuiMouseButton button)
9935{
9936 ImGuiContext& g = *GImGui;
9937 IM_ASSERT(button >= 0 && button < IM_COUNTOF(g.IO.MouseDown));
9938 return g.IO.MouseClickedCount[button];
9939}
9940
9941// Test if mouse cursor is hovering given rectangle
9942// NB- Rectangle is clipped by our current clip setting

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected