summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-02-03 14:35:28 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-02-03 14:35:28 +0100
commitcaa96c00eaecd5f0c67f0575468dd088f2c8ee1e (patch)
tree5f016c95da5f294fa54ee6cb467ae9aeb3460302 /menu.c
parentb79ccf22921a93ee79d844e9f777ce5d6bf5ee3c (diff)
downloadvdr-caa96c00eaecd5f0c67f0575468dd088f2c8ee1e.tar.gz
vdr-caa96c00eaecd5f0c67f0575468dd088f2c8ee1e.tar.bz2
Implemented page up/down with 'Left'/'Right'
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/menu.c b/menu.c
index 144233fc..777bd6c3 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.58 2001/01/13 13:07:43 kls Exp $
+ * $Id: menu.c 1.59 2001/02/03 14:28:42 kls Exp $
*/
#include "menu.h"
@@ -1074,12 +1074,18 @@ eOSState cMenuTimers::Summary(void)
eOSState cMenuTimers::ProcessKey(eKeys Key)
{
+ // Must do these before calling cOsdMenu::ProcessKey() because cOsdMenu
+ // uses them to page up/down:
+ switch (Key) {
+ case kLeft:
+ case kRight: return Activate(Key == kRight);
+ default: break;
+ }
+
eOSState state = cOsdMenu::ProcessKey(Key);
if (state == osUnknown) {
switch (Key) {
- case kLeft:
- case kRight: return Activate(Key == kRight);
case kOk: return Summary();
case kRed: return Edit();
case kGreen: return New();