Support and General Use > Theming and Appearance Customization

different font colours in different viewports

(1/2) > >>

tyip0217:
Hi, Is it possible to have different colours in different viewports, my theme is currently showing all fonts in white, but I want 1 line (1 viewport) to show in black

Thank

BdN3504:
pretty simple, it's all in the wiki.
just change the foregorund colour parameter in the defining viewport line:
%V|x|y|[width]|[height]|[font]|[fgcolor]|[bgcolor]|

tyip0217:
my original viewpoint is %V|6|222|228|16|1|-|-| this works perfectly fine,
but if I change it to %V|6|222|228|16|1|0|-|
then the theme does not display properly, did I make some mistake?

BdN3504:
0 is no colour.
000000 is black.
FFFFFF is white.
if you have photoshop or another imaging program, you can find out the code for every colour. i don't know the name of the code, but these 6 digit-Hexadecimals are what rockbox (or is it just the wps) uses to identify coulours.

tyip0217:
Thx, got it working now, I was trying the Greyscale method, it says in the wiki that 0=black and 3=white, donno why that didn't work, never thought using the code for colours below  :D

Navigation

[0] Message Index

[#] Next page

Go to full version