mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Grouped the Setup parameters into several sub-menus
This commit is contained in:
19
osd.c
19
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;
|
||||
|
||||
Reference in New Issue
Block a user