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

Author Topic: Make colored strings more readable  (Read 23522 times)

0 Members and 2 Guests are viewing this topic.

Lord Delvin

  • Jr. Member
  • **
  • Posts: 68
    • ICQ Messenger - 166781460
    • View Profile
Make colored strings more readable
« on: November 21, 2007, 05:25:12 pm »
I'd suggest to turn line 367 in FontManager.cpp

Code: [Select]
CurFont.Texture.SetPixel(x + Left, y + Top, Color(Pixels[x], Pixels[x], Pixels[x], Pixels[x]));


into

Code: [Select]
CurFont.Texture.SetPixel(x + Left, y + Top, Color(255, 255, 255, Pixels[x]));
So text should be more readable on colored text/background.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Make colored strings more readable
« Reply #1 on: November 22, 2007, 02:15:52 am »
Hum, sounds like a good idea, thanks.
Laurent Gomila - SFML developer