Mailing List archive

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

[vdr] Re: Small OSD menu example?



On Wed, 4 Jun 2003, Reinhard Walter Buchner wrote:

>Hi,
>
>> > The central area of the OSD has only 2bpp, resulting in a maximum of 4
>colors.
>> > Maybe you tried to use more than 4 colors...
>
>> AFAIK SetColor() also makes the menu item "special" and special
>> menu items cannot be selected (like channel group lines in the
>> channels list).
>
>Are you sure? AFAIR setting the color to Usercolor makes the menu
>items special. This is how a make an empty line in my mod that is
>used to seperate menu entries:
>
>class EmptyLineItem:public cOsdItem
>{
>  public:
>  EmptyLineItem():cOsdItem(" "){userColor=true;}
>};

Hmm, so that would mean that I can't use custom colors in my menu? No big
loss, but colors would make it so much easier for the user to separate
actual items from submenus.

Now that I *finally* got my feeble mind to grok the menu system it's not
that hard. :)

-- 
   Kids! Bringing about Armageddon can be dangerous. Do not attempt it in
   your home.
                             -- Terry Pratchett & Neil Gaiman, Good Omens



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



Home | Main Index | Thread Index