[feature request] Custom Icon

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
Isometric God
Posts: 69
Joined: Sun Oct 12, 2003 3:42 pm
Location: Germany

[feature request] Custom Icon

Post by Isometric God »

For the windows version of irrlicht, it always tries to load a file "irr.ico" which has to be in the same dir. as the caller. I have my own windows icons stored in the exe-file, so I need a function to get/set the Window Icon, or get the window handle ( this would be more flexible I think ). That would be so cool 8)
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

Why don't you make the fix and post a patch. I think it would be much more likely to be integrated if the code is already written and tested. The change you are proposing is only a line or two of code.

BTW, it might be a good idea to look for the file irr.ico on disk and if that isn't found then to look for an icon resource in the executable.

Travis
Guest

Post by Guest »

I got custom win32 icons working with irrlicht months before it was added officially, and it takes a resource called "whatever" :)
Post Reply