From 0c115f71a30f23989271f2b0a8cd7c262915241e Mon Sep 17 00:00:00 2001 From: Mypzik3D Date: Wed, 24 Apr 2024 20:46:31 +0200 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B2=20=C2=AB?= =?UTF-8?q?src=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/data.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/data.hpp b/src/data.hpp index cb1179b..ad28c9b 100644 --- a/src/data.hpp +++ b/src/data.hpp @@ -6,6 +6,7 @@ #include sf::Vector2u old_size_window; +sf::Vector2f mouse_pos; void old_size(sf::RenderWindow& window){ old_size_window = window.getSize(); @@ -25,6 +26,7 @@ public: sf::Vector2f position; sf::Vector2f size; sf::Vector2f real_size=sf::Vector2f(0, 0), real_pos=sf::Vector2f(0, 0); + sf::Vector2f min_size; std::string type = "sprite"; sf::String text; bool isActive, isInput, statusInput, isWisible;