Загрузить файлы в «src»

This commit is contained in:
Mypzik3D 2024-04-24 20:46:31 +02:00
parent 409da3f196
commit 0c115f71a3
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@
#include <math.h>
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;