| 328 | } |
| 329 | |
| 330 | bool utils::IsItemActiveAlt(ImVec2 pos, int id) |
| 331 | { |
| 332 | bool active = false; |
| 333 | ImGui::SetCursorPos(pos); |
| 334 | ImGui::PushID(id); |
| 335 | ImGui::InvisibleButton(" ", ImGui::GetItemRectSize()); |
| 336 | ImGui::PopID(); |
| 337 | active = ImGui::IsItemActive(); |
| 338 | return active; |
| 339 | } |
| 340 | |
| 341 | bool utils::GrabButton(ImVec2 pos, int random_int) |
| 342 | { |
nothing calls this directly
no outgoing calls
no test coverage detected