tom-mohr / particle-life-app

🦠 Simulator for a particle system showing life-like behaviour.
http://particle-life.com
GNU General Public License v3.0
770 stars 64 forks source link

Set Icon in GLFW #5

Open tom-mohr opened 1 year ago

tom-mohr commented 1 year ago

The application doesn't have an icon when running (only the .exe). Use GLFW to load the existing "favicon.ico" file as application icon.

y-ashaswini commented 1 year ago

Greetings! I was just trying to take up this issue since I really like what you've created, I highly appreciate the level of skill you must possess to create such an application, and I merely wanted to try and contribute to it.

Thing is, I managed to add an icon into it, but the code crashes when it's with an .ico extension. I added a png file instead (just for checking) and it runs.

Is it possible for you to add a png version of the icon into the repo? Or, do you necessarily want it to be .ico? If you want any more information, please do ask!

tom-mohr commented 1 year ago

Greetings! Sorry for replying late. And thanks for the praise :) Good to hear that you're working on this! Here's a 512x512 PNG: image

y-ashaswini commented 1 year ago

Great! I made the changes.