Runs, but does not respond to mouse clicks. #7667
robertflesch
started this conversation in
Build/Link/Run/Fonts issues ONLY!
Replies: 1 comment 2 replies
-
The ImGui_ImplGlfw_InitXXX functions is installing callbacks or you can install them yourself and call the callbacks functions declared in imgui_impl_glfw.h. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
New to ImGui, but long time UI developer.
Running on Vulkan 1.3, latest ImGui, Windows 11, VS22
Running some sample code from ImGui FAQ.
It runs beautifully, I can see my mouse overs, but none of the controls responds to mouse clicks.
Recording.2024-06-06.145621.mp4
You can kind of see in demo I am hovering over Button, I am clicking on it. but number does not change, nor do any of the other controls respond. Also true for demo window. I can highlight an expandable control, but it never opens.
Looking at example code, I don't see where you are passing in the clicks from glfw, what am I missing?
while (!glfwWindowShouldClose(window)) {
glfwPollEvents();
ImGui::EndFrame();
}
Beta Was this translation helpful? Give feedback.
All reactions