SFML community forums
Help => Window => Topic started by: hagen on July 03, 2014, 12:17:05 pm
-
Is it safe to assume that Window::setIcon always copies the pixel data, so I do not have to keep them?
Looking into a few implementations (OS X, Unix, Windows) this appears to be the case, but I cannot find a definitive statement in the documentation.
-
Yes, you don't need to keep the icon data on your side.
-
We should state this in the documentation. Laurent, do you want to adapt it correspondingly, or should I?
-
Laurent, do you want to adapt it correspondingly, or should I?
I'll never say "I'll do it" if you propose to do it 8)
-
Delegating like a pro.
-
Who knows, maybe you had a very concise and perfectly fitting wording in mind that you wanted to use at all costs :D
-
Yes, you don't need to keep the icon data on your side.
Thanks for clarifying that :)