Hi Guys:
Has anyone successfully changed the little icon in the top left corner of a window in haxe/nme for the Windows target? I can change all the other icons, like the one in the task bar, but this one is stubborn!
Thanks!
void SetIcon( const char *path ) { initSDL(); SDL_Surface *surf = SDL_LoadBMP(path); if ( surf != NULL ) SDL_WM_SetIcon( surf, NULL); }
it could be easily fixed to support other formats as well, as SDL_WM_SetIcon expects just a bitmask and doesn't care about formats.
--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en