-
Notifications
You must be signed in to change notification settings - Fork 25
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
Iris.Image, Iris.ImageButton #45
Comments
I've added in the IMGUI_API void Image(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0 = ImVec2(0, 0), const ImVec2& uv1 = ImVec2(1, 1), const ImVec4& tint_col = ImVec4(1, 1, 1, 1), const ImVec4& border_col = ImVec4(0, 0, 0, 0)); These are a few arguments which I think can be compacted in various ways:
These are the issues and questions I have from making the first version and I would like some input on how to go forwards with the Image widgets. |
The active branch is: image The main question I have about implementing images is:
There are multiple different ScaleTypes which I would like to be present, but some of them have extra properties which also need to be set to work. I'm not sure about the best way to go around supporting all of these properties in a concise and clean single API. Should these be separate APIs or is there a better way of accommodating them all? |
No description provided.
The text was updated successfully, but these errors were encountered: