8000 Add ability to set window icon with bytes by Vixeliz · Pull Request #1290 · ggez/ggez · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add ability to set window icon with bytes #1290

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

Open
wants to merge 2 commits into
base: devel
Choose a base branch
from
Open

Conversation

Vixeliz
Copy link
Contributor
@Vixeliz Vixeliz commented Jul 22, 2024

It's been a while since i've done any programming not sure if this is acceptable or not

fixes #1289

@Vixeliz
Copy link
Contributor Author
Vixeliz commented Jul 22, 2024

I missed a couple things (updating the icon comment in WindowSetup) and also realized that conf of course needs to be able to be serialized and deserialized. Which can do bytes but I feel like it should be kept human readable. Why is icon in conf anyways? I feel like that's something that usually wouldn't be? Would anyone be opposed of removing it from WindowSetup entirely? I'm not sure where would be best for it if not though.

edit: Alternatively WindowSetup could go back to only taking a string and if you want to hardcode an icon we could have set_window_icon still take the WindowIcon type instead that's part of this pr.

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
0