-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
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
Adding images #20
Comments
I've done what you're describing, but I don't have any sample code on GitHub yet. However, this might help you: ImGuiNET/ImGui.NET#141 |
You welcome! There is a section in the wiki entirely dedicated on how to load and display images using each 3D API: |
Woops, that was trickier than I thought! 😅 The code is the sample application, at the very bottom, how to draw a I first thought that the controller needed an update but no, it's probably just an OpenGL error that you've encountered. It seems that the changes made by @KCoen are a bit problematic because then OpenGL problems are simply swept under the carpet unless you watch for debug console. Throwing at user's face is always better IMO.😁 I'll open an issue about that.
|
Yes! Thank you for the reply, it worked. |
Great! 😀 |
First of all, thank you for creating and sharing this with us.
I want to ask that if I can add images (imagebuttons) onto windows? I tried to create an IntPtr type of an image using Bitmap but I couldn't make it. I wonder if there is an easier way to do this?
The text was updated successfully, but these errors were encountered: