Turbo3 wrote:In addition to Type "L" the next release will support three additional types to control colors ("CP","CL","CV") . Color should be in 4 byte hex ARGB format, 0xAARRGGBB where
AA = Alpha 0x00=transparent and 0xFF = solid color
RR = Red
GG = Green
BB = Blue
Solid white would be 0xFFFFFFFF, black would be 0xFF000000, and transparent would be 0x00123456 (does not matter want values you place in 123456).
Each element's color needs a day color and a night color. For labels and variables you need to specify the Text color and the Background color. Backgrounds can be transparent by setting Alpha to 0.
Default colors are used until overridden by a Cx type.
CP, DayPanelColor, NightPanelColor (note that Alpha is always forced to 0xFF as the panel color must be a solid color)
CL,LabelDayTextColor, LabelNightTextColor, LabelDayBackgroundColor, LabelNightBackgroundColor
CV,VarDayTextColor, VarNightTextColor, VarDayBackgroundColor, VarNightBackgroundColor
The CP type can be placed anywhere in the file start or end.
The CL and CV types can be single lines placed at the start and then all lines following will use that color scheme. Or you can place one set or just one of them before some or all of the L Types to have every field have a different color.
You can search the Internet for "Hex Colors" to get the values to use and see what the colors look like. Just don't forget to add the Alpha byte at the start or there will be no color. The current labels all use a transparent background and the variables use a solid color background of light gray.
Hi Turbo3
I have added CP, CL, and CV lines in that order to my .csv file, following the initial 2 lines. The colours in these lines are all different to the defaults (no transparencies).
The CP and CV lines work as expected. The CL line appears to be being ignored, with labels, variables and background colours produced being unchanged from those of your sample file both day and night.
My CL line checks identical to my CV line, no typos...
CL,0xFFFFFFFF,0xFF000080,0xFF000080,0xFFFFFFFF,1,0,,,,,,
I also copied the CL line to a 2nd .csv file (no CP or CV) and it leaves that display unchanged also.
Cheers..