From: Lukel495 Date: Fri, 8 Dec 2023 09:19:49 +0000 (+0100) Subject: ändra färg på text i scoreboard menyval X-Git-Url: https://gitweb.forssennils.se/?a=commitdiff_plain;h=7692849344e6d63dccfec7a4479c746272ab27ff;p=TDDC76_proj.git ändra färg på text i scoreboard menyval --- diff --git a/src/Scoreboard_menu.cc b/src/Scoreboard_menu.cc index b402cc9..daa70dd 100644 --- a/src/Scoreboard_menu.cc +++ b/src/Scoreboard_menu.cc @@ -89,13 +89,13 @@ void Scoreboard_menu::update(Context& context) // changes color on text depending on selection if( menu_index == 1) { - startmenutext.setFillColor(sf::Color::Black); - quittext.setFillColor(sf::Color(153, 0, 0)); + startmenutext.setFillColor(sf::Color(153, 0, 0)); + quittext.setFillColor(sf::Color::Black); } else if( menu_index == 2) { - startmenutext.setFillColor(sf::Color(153, 0, 0)); - quittext.setFillColor(sf::Color::Black); + startmenutext.setFillColor(sf::Color::Black); + quittext.setFillColor(sf::Color(153, 0, 0)); } // mouse placement