Бля, что за пиздец

This commit is contained in:
2024-03-23 21:08:38 +03:00
11 changed files with 159 additions and 3 deletions

9
code/SFML/appIcon.cpp Normal file
View File

@ -0,0 +1,9 @@
// ...
auto image = sf::Image{};
if (!image.loadFromFile("cat.png"))
{
// Error handling...
}
window.setIcon(image.getSize().x, image.getSize().y, image.getPixelsPtr());
// ...