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
{{ message }}
This repository has been archived by the owner on Dec 2, 2019. It is now read-only.
I've tried to modify function icon_load, but it never renders now. I want to nk_image.{w,h} to be filled and respected when drawing button icon (icon being scaled preserving aspect)
The text was updated successfully, but these errors were encountered:
Whatever you're using to load the image should give you the size, as specified in the image file. You'll have to fill these (x, y) in yourself. If you're using stbi_load_*(), then you'll notice it takes an x and y pointer.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I've tried to modify function icon_load, but it never renders now. I want to nk_image.{w,h} to be filled and respected when drawing button icon (icon being scaled preserving aspect)
The text was updated successfully, but these errors were encountered: