0 Members and 1 Guest are viewing this topic.
sf::RenderWindow App(sf::VideoMode(300,300,32), "Test");sf::Image img_icon;img_icon.LoadFromFile("icon_error.png");App.SetIcon(img_icon.GetWidth(), img_icon.GetHeight(), (sf::Uint8*)&img_icon);
App.SetIcon( img_icon.GetWidth(), img_icon.GetHeight(), img_icon.GetPixelsPtr());
I've uploaded the code hier:http://sfml15-seticont.sourceforge.net