A overloaded functions for HelloImGui::ImageFromAsset and ImageButtonFromAsset which can help us load and play GIF photo #60
Closed
XMNXofficial
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Hi, this looks nice, thanks! May be you could open a PR (once you are satisfied with your modifications), so that I can have a look at the code; Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
-
ImGui::GetTime() returns the current time in seconds. You could use this to advance, taking into account the framerate of the animation |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A overloaded functions
What is this
I have created overloaded functions for
HelloImGui::ImageFromAsset
andImageButtonFromAsset
, which will aid in loading and playingGIF images
.These functions are experimental and may contain several vulnerabilities, and I am currently working on improving them.
How to use
Some bug i can not fix
I am a beginner in C++, and I am not proficient in using C++😂😂.
stbi_load_gif_from_memory
return null)Power Save mode
.)Show
test.webm
Beta Was this translation helpful? Give feedback.
All reactions