title: SFML sf::Text::setFillColor is broken or am I doing something wrong?
body: <p>The code I've written displays the sf::Drawable objects only for the top state of the state stack. Rendering works fine for everything, except the sf::Text type, that does not change the color of the text when button.getText().setFillColor(sf::Color:Red) is called. However, when I construct a button with a red text, whenever I try to set another color to that button, I only get a white text, no matter what color I request.</p>
  
  <p>Here's where I change the color of a button:</p>
  
  <pre><code>void GameState_MainMenu::handleRealTimeInput()
  {
      for each (TextButton button in mButtons)
      {
          if (button.isSpriteClicked())
          {
              button.getText().setFillColor(sf::Color::Red);
              button.triggerAction();
              sf::Clock wait;
              sf::Time timer = sf::Time::Zero;
              timer = sf::seconds(0.15f);
              while (wait.getElapsedTime() &lt; timer)
              {
  
              }
              wait.restart();
          }
      }
  }
  </code></pre>
  
  <p>and this is my Game::render() method:</p>
  
  <pre><code>void Game::render()
  {
      GameState *currentState = getActiveState();
      if (currentState != nullptr)
      {
          mWindow.clear();
          currentState-&gt;draw();
      }
      mWindow.display();
  }
  </code></pre>
  
  <p>Lastly, this is the draw method of the MainMenu state:</p>
  
  <pre><code>void GameState_MainMenu::draw()
  {
      game-&gt;mWindow.draw(game-&gt;mBackground);
      game-&gt;mWindow.draw(mSelector.mSprite);
      for each (TextButton button in mButtons)
      {
          game-&gt;mWindow.draw(button.getText());
      }
  }
  </code></pre>