[SDL] SDL_WM_SetIcon
Stefan Hendriks
stefanhen83 at gmail.com
Mon Jun 4 04:57:41 PDT 2007
Hello,
When one tries to do SDL_WM_SetIcon after a SDL_SetVideoMode, it does
not work. I know that. But, when you do this:
Pseudo code:
SDL_WM_SetIcon("someicon.bmp");
SDL_SetVideoMode()...
SDL_WM_SetIcon("someothericon.bmp");
It takes someothericon.bmp.
Is this intended?
I ask this because my game/engine has to be extremely flexible and i'd
like to want to make the WM Icon customizable. I can choose to have a
default bitmap location with a default name, so someone can change
that picture and replace it with their own. However, i'd rather let my
users specify where the bitmap is as well and then link it as an ICON.
Thanks for any advice given,
Regards,
--
Stefan Hendriks
-----------------------
http://www.fundynamic.nl
http://www.fundynamic.com
More information about the SDL
mailing list