Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Different colours in one window  (Read 2188 times)

0 Members and 2 Guests are viewing this topic.

reimy

  • Newbie
  • *
  • Posts: 2
    • View Profile
Different colours in one window
« on: January 24, 2009, 06:12:09 pm »
hello,
I´d like to ask you how I can manage to print two single words in different colours! My compiler is MS Visual Studio 8 Professional. My question is if it´s possible to do this.

Thanks for your help right now

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
Different colours in one window
« Reply #1 on: January 25, 2009, 11:06:13 am »
Create two sf::Strings and apply a different color for each. That's it. :)

reimy

  • Newbie
  • *
  • Posts: 2
    • View Profile
Different colours in one window
« Reply #2 on: January 26, 2009, 04:42:22 pm »
thanks for your help! i guess it was a bit too obvious ;)

 

anything