So for some reason one of my window strings won't change colour for me:
here's part of the function:
WindowCreate (atkwin, 640, 325, 175, 200, 6, 2, ColourNameToRGB("silver"))
WindowShow (atkwin, true)
WindowFont (atkwin, "a","Trebuchet MS", 12, true, false, false, false)
WindowText (atkwin, "f","Attacks:", 4, 0, 0, 0, ColourNameToRGB ("lightgreen"), false)
WindowText (atkwin, "f", "Spells:", 4, 67, 0, 0, 0, ColourNameToRGB ("lightgreen"), false)
...
"f" is defined elsewhere like so:
WindowFont (win2, "f","Trebuchet MS", 10, true, false, false, false)
thing is, "Attacks:" is becoming light green no problem with that syntax, but "Spells:" will only show as black, no matter what I put inside of ColourNameToRGB
|