On Thu, Jun 28, 2012 at 9:48 PM, Winston Wolff <[email protected]>wrote:
> I don't know an answer but I know there is a test that changes text color.
> You could look through those.
>
>
That was a helpful clue. The code in there is:
fnt = font.load(self.font_name, self.font_size)
self.label = font.Text(fnt, self.text, 10, 10, color=(0, 0, 1, 1))
This uses the font.Text api, which was not recommended because GlyphString
is faster. On the other hand it works, meaning it draws in a color other
than white. I put it into console.py and now I can see red text, so the
code is 50% done now. Now just underline and inverted text are missing.
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyglet-users?hl=en.