Page 1 of 1

Setting the application icon

Posted: Wed Dec 09, 2009 7:21 am
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 :)

Posted: Wed Dec 09, 2009 7:24 am
by h++
Just to named the icon to irrlicht.bmp and then the irr will be load!

Posted: Wed Dec 09, 2009 9:11 am
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 >_>

Posted: Wed Dec 09, 2009 9:56 am
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.