#include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
#include <SFML/System.hpp>
#include <Windows.h>
void SA()
{
sf::RenderWindow SA(sf::VideoMode(1920, 1080), "ПИРИВАДЧИК!!!");
sf::Texture stroka;
stroka.loadFromFile("stroka");
sf::Sprite strokaS;
strokaS.setTexture(stroka);
sf::Font strokaF;
strokaF.loadFromFile("CyrilicOld.tff");
bool checkPosition1 = false;
bool checkPosition2 = false;
sf::IntRect area1(132, 322, 887 - 132, 920 - 322);
sf::IntRect area2(1032, 308, 1785 - 1032, 907 - 308);
sf::Vector2i i;
while (SA.isOpen())
{
sf::Event event;
while (SA.pollEvent(event))
{
switch (event.type)
{
case sf::Event::Closed:
SA.close();
break;
case sf::Keyboard::Key::Escape:
SA.close();
break;
case sf::Event::MouseMoved:
i = sf::Mouse::getPosition(SA);
}
}
}
}