diff --git a/src/Ecran.cpp b/src/Ecran.cpp index b8cfb5b..3f9af0b 100644 --- a/src/Ecran.cpp +++ b/src/Ecran.cpp @@ -6,7 +6,8 @@ std::string Ecran::message = ""; Ecran::Ecran(const uint w, const uint h, const std::string n) { // CrĂ©ation de la fenĂȘtre SFML - window.create(sf::VideoMode(w, h + bottomTxtPadding), n); + window.create(sf::VideoMode(w, h + bottomTxtPadding), n, + sf::Style::Titlebar | sf::Style::Close); } Ecran::~Ecran() {} @@ -20,7 +21,7 @@ void Ecran::afficher( sf::Text text; text.setFont(font); text.setCharacterSize(24); - text.setPosition(0, hauteur()); + text.setPosition(3, hauteur()); text.setFillColor(sf::Color::White); while (window.isOpen()) {