We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我新建了一个LTexture数组,里面放两个图片,一个正常状态,一个按下状态,为什么给LButton后,在屏幕上点击,没有变化???
The text was updated successfully, but these errors were encountered:
解决了,给三个Texture,最后一个按下效果
Sorry, something went wrong.
上次回复我提到过的。
LTexture[]数组的四张图默认顺序是,第一张图按钮默认图,第二张图鼠标悬浮图(鼠标滑过),第三张图按钮按下,第四张图按钮禁用图。因为触屏没有鼠标悬停事件,暂时没有悬停效果,也就是第二张图在触屏环境默认无效(Window10触屏环境下默认是长按算鼠标悬停,不过它那是出提示信息用的,也不是按钮图切换用,暂时无没想好按钮上怎么处理悬停事件)。
主要是我怕用长按触发悬停事件,和按下时的图片切换有冲突,时间不好把握,短的话,会造成悬停和按下两种图有闪烁感,长的话用户来不及触发,以为没效果就不按了。这需要实际优化下再决定最后怎么处理。
别改来改去了好吗,就这样了
No branches or pull requests
我新建了一个LTexture数组,里面放两个图片,一个正常状态,一个按下状态,为什么给LButton后,在屏幕上点击,没有变化???
The text was updated successfully, but these errors were encountered: