Setting the application icon

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Chandler
Posts: 13
Joined: Fri May 26, 2006 5:05 pm

Setting the application icon

Post by Chandler »

Hello, I'm just curious if there is any easy way to set an application's icon in Irrlicht. I know SFML and SDL provide a way but I'm unsure about irrlicht itself. Any information would be appreciated :)
h++
Posts: 12
Joined: Fri Dec 04, 2009 9:13 am

Post by h++ »

Just to named the icon to irrlicht.bmp and then the irr will be load!
Chandler
Posts: 13
Joined: Fri May 26, 2006 5:05 pm

Post by Chandler »

This does not appear to work on Linux. Although it appears one would have to use XGetWMHints(), modify the icon, and then set the hints again with XSetWMHints()

Kind of wish this was builtin. I know of several frameworks that do this on their own >_>
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Yes, and all frameworks require different sizes of the icons, support different color formats, blah etc. This is even true for windows, although it's at least automatically scaled (with quality as happens). Don't know if it's really worth. But if you provide a patch we'll consider it.
Post Reply