You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In previous builds you have this at the end of CreateShowdialog: std::string &icon_path = ""
I can just put in the path for an Icon and it works fine.
Now you changed in new plutonium builds - sdl2::TextureHandle::Ref icon = {}
This obviously break my code now as I need to changed it bacause it's no longer a sting path, I had a look in your example, but you didn't show how to now load that graphic file. Can you post an example please.
Thanks for replying. I saw that and still couldn't figure out how to load a graphic though. I've gone back to an older build now because I know how to use that.
In previous builds you have this at the end of CreateShowdialog: std::string &icon_path = ""
I can just put in the path for an Icon and it works fine.
Now you changed in new plutonium builds - sdl2::TextureHandle::Ref icon = {}
This obviously break my code now as I need to changed it bacause it's no longer a sting path, I had a look in your example, but you didn't show how to now load that graphic file. Can you post an example please.
Previous code would look like this:
How can I now load that icon as a texture so it works with the new code?
The text was updated successfully, but these errors were encountered: