[vdr] max. colors in OSD ?

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Thu Sep 29 18:20:25 CEST 2005

Martin Dauskardt wrote:
>>The central area uses the colors
>>clrMenuItemCurrentFg     = clrBlack
>>clrMenuItemCurrentBg     = clrYellow
>>clrMenuItemSelectable    = clrYellow
>>clrMenuItemNonSelectable = clrCyan
>>clrBackground            = clrGray50
>>which makes for a total of four different colors.
> I guess you forgot to mention clrMenuFrame (which is also yellow) , right?

AFAICS clrMenuFrame isn't used in cSkinSTTNGDisplayMenu::SetItem(), which is
the only function that writes to the central area (except for the ctor, which
clears the background with clrBackground.

> But I still get the error when I use not more than 4 colors for these 6
> items. Maybere there are more items?
> And does this mean, that the max. of 4 colors is related to **all** items
> which can appear in **any** menu page within the central area?
> Or in other words: When I press the menu button the first time, the main
> menu apperas. There I can`t see any cyan color; it seems to be used in other
> menu pages (like program/epg). Nevertheless, the error message apperars
> immidiately, before I use a menu page where cyan is used.

Well, then I guess the problematic area is not the central one, but a different one.


More information about the vdr mailing list