MCPcopy Create free account
hub / github.com/Raais/ImStudio / SetItemUsingMouseWheel

Method SetItemUsingMouseWheel

src/third-party/imgui/imgui.cpp:5100–5108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5098}
5099
5100void ImGui::SetItemUsingMouseWheel()
5101{
5102 ImGuiContext& g = *GImGui;
5103 ImGuiID id = g.LastItemData.ID;
5104 if (g.HoveredId == id)
5105 g.HoveredIdUsingMouseWheel = true;
5106 if (g.ActiveId == id)
5107 g.ActiveIdUsingMouseWheel = true;
5108}
5109
5110void ImGui::SetActiveIdUsingNavAndKeys()
5111{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected