[solved]what is TextCoulors property mean ?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

traibuidoi
Just popping in
Just popping in
Posts: 13
Joined: Tue Aug 05, 2008 08:31

[solved]what is TextCoulors property mean ?

Postby traibuidoi » Fri Oct 03, 2008 03:33

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 ?
Last edited by traibuidoi on Fri Oct 03, 2008 07:47, edited 1 time in total.

traibuidoi
Just popping in
Just popping in
Posts: 13
Joined: Tue Aug 05, 2008 08:31

Postby traibuidoi » Fri Oct 03, 2008 03:45

hello again :D

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

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

brucey
Just popping in
Just popping in
Posts: 10
Joined: Fri Sep 26, 2008 09:38
Location: Solihull
Contact:

Postby brucey » Fri Oct 03, 2008 05:10

traibuidoi wrote:about the tr,tl,bl,br keywords ?

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

:-)

traibuidoi
Just popping in
Just popping in
Posts: 13
Joined: Tue Aug 05, 2008 08:31

Postby traibuidoi » Fri Oct 03, 2008 07:47

oh yeah thx guy :D


Return to “Help”

Who is online

Users browsing this forum: No registered users and 13 guests