05-17-2010, 08:29 AM
On another topic, my client is apparently displaying some of the characters taken from the GuiFX Transports font using the wrong color. In one example, Rob intends the transport controls to be white, but they show up as black. In the debugger, it does appear that the last text foreground color sent by the CQC server was black, which explains why I draw it that way. But I wonder if maybe my text color logic is wrong. All I do currently is rememember the most recently specified foreground and background colors, and use those when drawing text. Is it more complicated than that? Do other commands such as setting the font, drawing text (or non-text), or pushing and popping the graphics state need to be taken into account? Is there a stack of text color settings in any way?