-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Hover Flags in ImGui::IsAnyItemHovered() #7571
Comments
I don’t understand what you actually need. Please clarify. |
Oh. Sorry, i got something mixed up with the Button flags. It is entirely my fault. I just want ImGui::IsAnyItemHovered() to execute once for the whole duration that the item is hovered on. I want a certain sound to play when any item is hovered on and it needs to be executed only once. |
I think you want to give user a audible signal when hovered item is "changed to something(except nothing)", In my opinion, you should either
Unfortunately I'm using imgui-rs and both approach seem impossible here. I'm not sure they're valid. |
@ruby3141 I will try and send feedback as soon as i can. Thanks for the suggestions! |
Version/Branch of Dear ImGui:
Version 1.94, Branch: docking
Back-ends:
imgui_impl_vulk.cpp + imgui_impl_glfw.cpp + custom vulk backend
Compiler, OS:
Windows 10
Full config/build information:
No response
Details:
I see no flags in the function for any item to be hovered. I have a issue with the sound engine where i want it to play only once if any item was hovered, but it repeatedly changes true/false. I thought i could use flags for the issue, but there are no ImGui_HoveredFlags in the function arguments. Maybe something to look forward to?
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response
The text was updated successfully, but these errors were encountered: