I just finished updating the Crystal Space's CEGUI renderer for 0.7. And as I was playing around with the new stringparser markup functionality([colour=""]), I couldn't seem to find a way to set a default text colour and overwrite it on a per window basis.
You used to do
Code: Select all
<Property name="TextColours" value="tl:FF000000 tr:FF000000 bl:FF000000 br:FF000000" />
but RenderedStringTextComponent.cpp:166 multiplies the colours, which blackens all, so things like [colour="FF00FFFF"] have no effect, even added images go black.
Ofcourse I could remove the TextColours property and stick with the default white, but then i'd have to add [colour="FF000000"] to all my text, which doesn't seem very practical, or am I missing an option somewhere?
Thank you.