[mythtv-theming] What did the old <color> numbers mean ?

Paul Harrison mythtv at sky.com
Sat Nov 20 18:04:49 UTC 2010


On 20/11/10 17:38, Christopher X. Candreva wrote:
> I'm converting the old Retro-OSD theme, and the fonts have color defs like
>
> <color>200</color>
> <color>255</color>
> <color>128</color>
>
> What did a color of a single 0-255 number mean ?
>
>
>   

Looking at the color parsing code it looks like they are a quick way to
represent a gray scale so they are the same as :-

<color>200,200,200</color>
<color>255,255,255</color>
<color>128,128,128</color>

http://svn.mythtv.org/trac/browser/branches/release-0-23-fixes/mythtv/libs/libmythtv/osd.cpp#L1774

Paul H.


More information about the mythtv-theming mailing list