Skip to content

Conversation

cyrgani
Copy link
Contributor

@cyrgani cyrgani commented Apr 11, 2025

This is the same as not-fl3/macroquad#928, but moved to miniquad for greater accessibility.

This PR adds the function Icon::from_bytes, which can be used to construct a Icon for use in a Conf. Previously, there was no practical way to do this, except to manually use include_bytes! and have three differently scaled versions. (best example of how impractical this is: https://github.com/not-fl3/miniquad/blob/master/src/default_icon.rs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant