Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: ANNOUNCE: vdr-osdteletext-0.1



Marcel Wiesweg wrote:
> 
> Am Donnerstag, 6. Februar 2003 09:57 schrieb Matthias Raus:
> > Hi Marcel,
> >
> > thanks for that, I tested your plugin and I really like it! It already
> > works quite stable here (no crashes so far), and allows me to look
> > quickly into teletext pages with slightly reduced quality, but with
> > sound and picture...
> > In some cases, the readability is bad because of the background color,
> > but obviously there is not much you can do about it because of the OSD
> > memory limitation.
> What you can do is change the colors, including the background color -
> currently clrBackground is simply chosen to replace blue and black.
> But you will always have to select four out of the eDvbColors.
> If you want custom colors, not one of the eDvbColor enum, you will have to
> apply some little changes to vdr AFAIK.

You don't necessarily have to change VDR for that. The color values are
simply integers that encode the Red, Green and Blue values plus a transparancy
(see osdbase.h). You can pass your own color by typecasting it to eDvbColor,
as, for instance, in

  SetColor(eDvbColor(0x00AADDCC));

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index