summaryrefslogtreecommitdiff
path: root/menu.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-22 14:27:53 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-22 14:27:53 +0100
commit6cd9124d08713dc11a068f31bfa2cab266a1895b (patch)
tree6f22cda9eae33923faba799d5a127e84ec1efb8e /menu.h
parentac9f4bb48fb3aa54e0fcdefc0037ee9a1c6576a1 (diff)
downloadvdr-6cd9124d08713dc11a068f31bfa2cab266a1895b.tar.gz
vdr-6cd9124d08713dc11a068f31bfa2cab266a1895b.tar.bz2
Improved channel switching when repeat function kicks in; updating channel display before switching channel; added a missing initialization of 'timeout' in the cDisplayChannel constructor
Diffstat (limited to 'menu.h')
-rw-r--r--menu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/menu.h b/menu.h
index f88a597d..55d179c7 100644
--- a/menu.h
+++ b/menu.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.h 1.81 2006/01/06 11:30:38 kls Exp $
+ * $Id: menu.h 1.82 2006/01/22 14:24:31 kls Exp $
*/
#ifndef __MENU_H
@@ -82,14 +82,17 @@ private:
cChannel *channel;
const cEvent *lastPresent;
const cEvent *lastFollowing;
+ static cDisplayChannel *currentDisplayChannel;
void DisplayChannel(void);
void DisplayInfo(void);
void Refresh(void);
+ cChannel *NextAvailableChannel(cChannel *Channel, int Direction);
public:
cDisplayChannel(int Number, bool Switched);
cDisplayChannel(eKeys FirstKey);
virtual ~cDisplayChannel();
virtual eOSState ProcessKey(eKeys Key);
+ static bool IsOpen(void) { return currentDisplayChannel != NULL; }
};
class cDisplayVolume : public cOsdObject {