From 9e03068357945e927914d434482f76cc7e23a416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matt=C3=A9o=20Delabre?= Date: Fri, 8 Apr 2016 15:53:58 +0200 Subject: [PATCH] Renommage police --- res/{Raleway-Regular.ttf => raleway.ttf} | Bin src/menu.cpp | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename res/{Raleway-Regular.ttf => raleway.ttf} (100%) diff --git a/res/Raleway-Regular.ttf b/res/raleway.ttf similarity index 100% rename from res/Raleway-Regular.ttf rename to res/raleway.ttf diff --git a/src/menu.cpp b/src/menu.cpp index 9b03464..cf028fb 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -7,13 +7,13 @@ Menu::Menu(Manager& manager) : View(manager){ menu1(); //mise en place des propriétés des textes affichés dans le menu - choice[0].setFont(manager.getResourceManager().getFont("Raleway-Regular.ttf")); + choice[0].setFont(manager.getResourceManager().getFont("raleway.ttf")); choice[0].setColor(sf::Color::Red); choice[0].setPosition(sf::Vector2f(positionY, 400/(NB_CHOICES + 1))); for(int i=1; i < NB_CHOICES; i++) { - choice[i].setFont(manager.getResourceManager().getFont("Raleway-Regular.ttf")); + choice[i].setFont(manager.getResourceManager().getFont("raleway.ttf")); choice[i].setColor(sf::Color::White); choice[i].setPosition(sf::Vector2f(positionY, 400/((NB_CHOICES + 1))*(i+1))); }