SDL2 hide "window icon" |
samleo
|
I would like to know: how can I hide the "icon" from panel on sdl2?
|
|||||||||||
|
SDL2 hide "window icon" |
Jeffrey Carpenter
Guest
|
Heyya,
After a few minutes of playing around with off-the-top ideas, I must ask: why must you explicitly hide the icon? Why not just exclude making the call to SDL_SetWindowIcon if hiding the icon is the intended behavior? My only other idea / suggestion for effectively hiding the icon (untested), assuming you are using PNG for the icon file, would be to create a duplicate icon (i.e.: same size dimensions), except in this file, you'd want 100% transparency (alpha) set, so that it would appear as though there was no window icon, and could easily be toggled to the other game icon if/when necessary. Cheers, Jeffrey Carpenter On 2014/10/ 27, at 18:14, samleo wrote:
_______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|