Tordex Community

Full Version: Weather Monitor Skin Text Color
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
is there anyway to change the color of the weather monitor text color without using the digits.png?
Hello jgallen

Shapeshifter is sure to jump in on this one! Big Grin
I don't know off the top of my head. I'll sit down and try to figure it out when I get more time.
This was easy enough. Add the following line to the appropriate [DataSlotX] section in your skin.ini file:

color = <r g b>
Where <r g b> is 3 8 bit base 10 numbers (0 to 255) seperated by spaces, representing the red, green, and blue components of the desired color. For instance:

Code:
[DataSlot0]
param = Temperature
SkinText = 0
rect = 0 0 68 13
LabelType = short
LabelRect = 0 0 10 10
font=Verdana
bold=1
italic=0
align=right
ShowUnits = 1
color = 255 0 0

The last line in the code above will make the text for dataslot 0 red.

Enjoy.
Cool find, shapeshifter.

Would be neat to be able to change color depending on the value .. maybe in the next version. Smile

Rick.
shapeshifter -

HOT, HOT, HOT!!!