[vdr] Re: [PATCH] "Natural" menu cursor 0.01

Udo Richter udo_richter at gmx.de
Sat Jun 18 16:44:21 CEST 2005


Klaus Schmidinger wrote:
> Please try the attached code sequence, which is a drop in replacement
> for the functions cOsdMenu::CursorUp/Down() and cOsdMenu::PageUp/Down().

Just to make sure this is intended behavior:

Before, MenuScrollPage=true:
CursorDown on last line of menu moves window one complete page down,
focus stays on last line. (eg. each CursorDown scrolls one page from now on)

After, MenuScrollPage=true:
CursorDown on last line of menu moves window one complete page down,
focus is on first line.

----

Before, MenuScrollPage=false:
CursorDown on last line of menu moves window one page - 1 line down,
focus is on second line.

After, MenuScrollPage=false:
CursorDown on last line of menu moves window one line down, focus is on
last line.


With this change, the mode MenuScrollPage=false before is most simillar
to MenuScrollPage=true in new versions, except that the focus is on
first/last line instead of second/second-last line.
The old MenuScrollPage=true behavior is gone.
The new MenuScrollPage=false behavior is horribly slow (for me) because
of the complete osd redraw for each CursorDown.

Cheers,

Udo




More information about the vdr mailing list