[Solved]Alternatives to setTextColours(CEGUI::colour)
Posted: Fri Jul 18, 2008 13:48
In CEGUI 0.4 i was using
Now in 0.6 i have to use
There is a method to use directly CEGUI::colour or CEGUI::ColourRect like in 0.4?
I need to change text colour frequently and create a string from CEGUI::colour would be a waste of cpu time
Code: Select all
static_text->setTextColours(colour);
Now in 0.6 i have to use
Code: Select all
static_text->setProperty("TextColours", "tl:FFFF0000 tr:FFFF0000 bl:FFFF0000 br:FFFF0000");
There is a method to use directly CEGUI::colour or CEGUI::ColourRect like in 0.4?
I need to change text colour frequently and create a string from CEGUI::colour would be a waste of cpu time