mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Paging up/down in lists no longer wraps
This commit is contained in:
parent
5e0ee042c7
commit
76521306b1
8
BUGS
8
BUGS
@ -1,8 +0,0 @@
|
|||||||
Video Disk Recorder - Known Bugs
|
|
||||||
--------------------------------
|
|
||||||
|
|
||||||
* Sometimes the picture "jumps" as if a frame is skipped.
|
|
||||||
Presumably this is a problem in the card driver or firmware?
|
|
||||||
|
|
||||||
* The pictures captured with the GRAB command in SVDRP
|
|
||||||
appear to be too dark.
|
|
2
HISTORY
2
HISTORY
@ -366,7 +366,7 @@ Video Disk Recorder Revision History
|
|||||||
a certain instance of VDR shall use.
|
a certain instance of VDR shall use.
|
||||||
- The "Left" and "Right" keys are now used to page up and down in lists (thanks
|
- The "Left" and "Right" keys are now used to page up and down in lists (thanks
|
||||||
to Martin Hammerschmid). Since the "Timers" menu already uses these keys to
|
to Martin Hammerschmid). Since the "Timers" menu already uses these keys to
|
||||||
(de)activate timers, this functionality is not available here.
|
(de)activate timers, this functionality is not available there.
|
||||||
- The "Main" and "Commands" menu now support "hotkeys", which means that if the
|
- The "Main" and "Commands" menu now support "hotkeys", which means that if the
|
||||||
first non-blank character of a menu item is a digit in the range 1..9, that
|
first non-blank character of a menu item is a digit in the range 1..9, that
|
||||||
item can be selected by pressing the respective numeric key on the remote
|
item can be selected by pressing the respective numeric key on the remote
|
||||||
|
7
TODO
7
TODO
@ -1,7 +0,0 @@
|
|||||||
TODO list for the Video Disk Recorder project
|
|
||||||
---------------------------------------------
|
|
||||||
|
|
||||||
* Implement simultaneous record/replay with a single DVB card once
|
|
||||||
the card driver/firmware allows this.
|
|
||||||
* Implement channel scanning.
|
|
||||||
* Implement remaining commands in SVDRP.
|
|
14
osd.c
14
osd.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: osd.c 1.15 2001/02/03 15:14:45 kls Exp $
|
* $Id: osd.c 1.16 2001/02/24 16:26:11 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "osd.h"
|
#include "osd.h"
|
||||||
@ -257,13 +257,10 @@ void cOsdMenu::PageUp(void)
|
|||||||
{
|
{
|
||||||
if (Count() <= MAXOSDITEMS)
|
if (Count() <= MAXOSDITEMS)
|
||||||
return;
|
return;
|
||||||
int relpos = current - first;
|
|
||||||
current -= MAXOSDITEMS;
|
current -= MAXOSDITEMS;
|
||||||
first -= MAXOSDITEMS;
|
first -= MAXOSDITEMS;
|
||||||
if (first < 0) {
|
if (first < 0)
|
||||||
first = Count() - MAXOSDITEMS;
|
first = current = 0;
|
||||||
current = first + relpos;
|
|
||||||
}
|
|
||||||
Display();
|
Display();
|
||||||
DisplayCurrent(true);
|
DisplayCurrent(true);
|
||||||
}
|
}
|
||||||
@ -272,12 +269,11 @@ void cOsdMenu::PageDown(void)
|
|||||||
{
|
{
|
||||||
if (Count() <= MAXOSDITEMS)
|
if (Count() <= MAXOSDITEMS)
|
||||||
return;
|
return;
|
||||||
int relpos = current - first;
|
|
||||||
current += MAXOSDITEMS;
|
current += MAXOSDITEMS;
|
||||||
first += MAXOSDITEMS;
|
first += MAXOSDITEMS;
|
||||||
if (current > Count() - 1) {
|
if (current > Count() - 1) {
|
||||||
first = 0;
|
current = Count() - 1;
|
||||||
current = first + relpos;
|
first = Count() - MAXOSDITEMS;
|
||||||
}
|
}
|
||||||
Display();
|
Display();
|
||||||
DisplayCurrent(true);
|
DisplayCurrent(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user