Mailing List archive

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

[vdr] Re: Q: osd color palette table (plugin devel)



Clemens Kirchgatterer wrote:
> 
> a short question regarding osd colors:
> 
> do i ever have to use osd->AddColor() or is it sufficent to just call
> osd->SetColor() ? or can i just use Set() on colors that i have Add()ed
> previously?

You can either use cPalette::SetColor() to have a particular color at a defined
index, or cOsdBase::AddColor() to just add the color, without caring about it's
index.

> another thing: gets the colortable reset after a plugins osd has been
> closed?

It doesn't explicitly get _reset_, but it will be newly _set_ when a
new OSD is opened.

Klaus


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



Home | Main Index | Thread Index