Page 1 of 1

[solved]what is TextCoulors property mean ?

Posted: Fri Oct 03, 2008 03:33
by traibuidoi
Hello CEGUI comunity !

i want to change colour property in Static Text and i know how to deal with it :

Code: Select all

<Property Name="TextColours" Value="tl:FF00FF00 tr:FF00FF00 bl:FF00FF00 br:FF00FF00" />


In my knowledge , colours often in RGB system . White is (0,0,0) , black is (255,255,255) , green is (50,50,50) and so on..

But i don't understand the syntax of value expression :( . What is tl,tr,bl,br mean ? What's the eight number like that : FF00FF00 ?

Could you explain to me the format of value string in text colours property ?

Posted: Fri Oct 03, 2008 03:45
by traibuidoi
hello again :D

i have just understood what the "eight-value" mean : It's AARRGGBB !

but about the tr,tl,bl,br keywords ?

Posted: Fri Oct 03, 2008 05:10
by brucey
traibuidoi wrote:about the tr,tl,bl,br keywords ?

The four corners : top right, top left, bottom left, bottom right

:-)

Posted: Fri Oct 03, 2008 07:47
by traibuidoi
oh yeah thx guy :D