omar

Results 2356 comments of omar

TL;DR; I don’t disagree you have an issue but you haven’t showed Dear ImGui code that exhibit an issue yet. You’ve only showed a video of your app with a...

I only skimmed at the code and I am not an OpenGL expert but I cannot see what's wrong right away. (1) Notice that your blurb calling glDrawElement() is using...

What’s the actual problem you are aiming to solve? It’s difficult to answer your questions with a simple yes/no answer, there are most things rights but vocabulary can be slippery...

Hello, Not so long ago we formalized this with an imgui_internal.h function called `SetItemUsingMouseWheel()` (#2891): ```cpp ImGui::SliderFloat("float", &f, 0.0f, 1.0f); ImGui::SetItemUsingMouseWheel(); if (ImGui::IsItemHovered()) { float wheel = ImGui::GetIO().MouseWheel; if (wheel)...

Good to hear! Technically speaking your `*v += wheel * scrolStep;` line should be followed by `rv = true` if you want to notify caller of a value change. Closing...

Err, you literally pasted the answer to your question? Use SetItemKeyOwner().

Everything in imgui_internal.h is technically not guaranteed to be stable, but `SetItemKeyOwner()` is the way forward. As `SetItemUsingMouseWheel()` was mentioned in #5108 #4303 #4207 #2891 #2704 I added a redirection...

It will be progressively be made public when the API has been used enough. I think you should ask for your C# bindings to allow access to imgui_internal too.

Should probably check that the mouse moving window lock is disabled before claiming ownership. Will try to test this.

Hello, Sorry for lack of answer. I'm not really sure what to make of this considering I don't have an Android device and the issue seems to be a general...