Skip to content
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

Change Icon at Runtime? #18

Open
donatj opened this issue Aug 28, 2017 · 2 comments
Open

Change Icon at Runtime? #18

donatj opened this issue Aug 28, 2017 · 2 comments

Comments

@donatj
Copy link

donatj commented Aug 28, 2017

I'm not sure how big of a deal this one would be but it would be quite helpful for me to be able to change the icon at runtime.

@dmitshur
Copy link
Member

dmitshur commented Aug 28, 2017

What OS are you interested in using this on?

Right now, the icon is provided as part of Initialize call.

It looks like it should be possible to factor out that functionality into a SetIcon(imageData []byte) function and thus make it available for programs to call after they've started running.

Are you willing to implement this and send a PR? If so, I can review, and merge if we can get the implementation to be clean and working well.

@donatj
Copy link
Author

donatj commented Aug 28, 2017

I am running macOS.

I would love to help out, and I can certainly try my hand at it at least.

That said I am not super comfortable with C nor Objective C, it's been ~10 years since I last did anything substantial in them - so presumably anything I could come up with would need to be heavily reviewed 😄

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

No branches or pull requests

2 participants