Hello!,I tried to use Imgui in NDK OpenGl, but I couldn't click.
Please give a more accurate description of what have you done, your imgui version, your detailed debugging environment, your devices, your backends, etc.
Thank you.
我可以帮你翻译。
I can help you translate
@ice1000 我用的安卓NDK中的opengl绘制了一个正方形,并加了imgui能显示,但是在安卓中无法点击。比如像按钮,拖动条之类的都无法点击。点起来没有任何反应
@ice1000 我没其他机子测试,只有安卓7.0的机子。Imgui版本是1.52
需要传入用户数据的,你看下 #421 是怎么做的
就是你用户的输入需要手动传入,其他平台都封装好了,安卓还没有,所以你看不到点击
把标题改成『How can I pass user input to imgui』好一点
@ice1000 好的谢谢,但是移动也没有反应,关闭也没有,就跟没点一样
肯定的,因为用户输入没传给imgui,它就没法做任何响应啊。相关代码有人已经写好了(已经写了三遍以上了),你去面向复制粘贴编程一下应该就可以了
@ice1000 好的,谢谢你
你还没改标题
@ice1000 好了
Good。问题解决了记得来close掉
顺便po下你解决问题的代码就好了
This guy doesn't know that imgui requires passing user input manually. I've told him so and he's doing it right now.
@ice1000 我看了一下,没有讲详细如何处理
@ice1000 算了
This guy gives up
Most helpful comment
This guy gives up