MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / GetMouseClickedCount

Method GetMouseClickedCount

imgui_tiny_app/imgui/imgui.cpp:10575–10580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10573}
10574
10575int ImGui::GetMouseClickedCount(ImGuiMouseButton button)
10576{
10577 ImGuiContext& g = *GImGui;
10578 IM_ASSERT(button >= 0 && button < IM_COUNTOF(g.IO.MouseDown));
10579 return g.IO.MouseClickedCount[button];
10580}
10581
10582// Test if mouse cursor is hovering given rectangle
10583// NB- Rectangle is clipped by our current clip setting

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected