summaryrefslogtreecommitdiff
path: root/osd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-03-16 10:03:04 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-03-16 10:03:04 +0100
commitd9cfa43d8529ea9422771d5cd744d5e20a3b5c93 (patch)
tree5ff8bb2011c37f4551cd18c16c054e204168be52 /osd.c
parentf9a3885ef2d21cef30180f2a90a0a305981a27c6 (diff)
downloadvdr-d9cfa43d8529ea9422771d5cd744d5e20a3b5c93.tar.gz
vdr-d9cfa43d8529ea9422771d5cd744d5e20a3b5c93.tar.bz2
Grouped the Setup parameters into several sub-menus
Diffstat (limited to 'osd.c')
-rw-r--r--osd.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/osd.c b/osd.c
index 0a825d7d..e404a6f8 100644
--- a/osd.c
+++ b/osd.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osd.c 1.20 2002/01/26 11:09:58 kls Exp $
+ * $Id: osd.c 1.21 2002/03/10 16:18:06 kls Exp $
*/
#include "osd.h"
@@ -102,6 +102,23 @@ cOsdMenu::~cOsdMenu()
Interface->Close();
}
+const char *cOsdMenu::hk(const char *s)
+{
+ static char buffer[32];
+ if (digit < 9) {
+ snprintf(buffer, sizeof(buffer), " %d %s", ++digit, s);
+ return buffer;
+ }
+ else
+ return s;
+}
+
+void cOsdMenu::SetHasHotkeys(void)
+{
+ hasHotkeys = true;
+ digit = 0;
+}
+
void cOsdMenu::SetStatus(const char *s)
{
delete status;