summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Hammerschmid <linux@home.pages.at>2003-03-08 13:51:16 +0100
committerMartin Hammerschmid <linux@home.pages.at>2003-03-08 13:51:16 +0100
commit161feb1fe49c2604f2cd2baf00549ee05083e677 (patch)
tree006bb910bd66fe4600dcbf5b3fdf72cd8e6ed98f
parent2ee6173832f7760cad33b0b63ce4f798d6640873 (diff)
downloadvdr-plugin-lcdproc-161feb1fe49c2604f2cd2baf00549ee05083e677.tar.gz
vdr-plugin-lcdproc-161feb1fe49c2604f2cd2baf00549ee05083e677.tar.bz2
-rw-r--r--i18n.c30
-rw-r--r--lcd.c4
-rw-r--r--lcdproc.c11
3 files changed, 23 insertions, 22 deletions
diff --git a/i18n.c b/i18n.c
index f9de73a..0fde3ef 100644
--- a/i18n.c
+++ b/i18n.c
@@ -161,21 +161,21 @@ const tI18nPhrase Phrases[] = {
"BackLight",// TODO
"BackLight",// TODO
},
-{ "Output Number",
- "Output Number",// TODO
- "Output Number",// TODO
- "Output Number",// TODO
- "Output Number",// TODO
- "Output Number",// TODO
- "Output Number",// TODO
- "Output Number",// TODO
- "Output Number",// TODO
- "Output Number",// TODO
- "Output Number",// TODO
- "Output Number",// TODO
- "Output Number",// TODO
- "Output Number",// TODO
- "Output Number",// TODO
+ { "OutputNumber",
+ "OutputNumber",// TODO
+ "OutputNumber",// TODO
+ "OutputNumber",// TODO
+ "OutputNumber",// TODO
+ "OutputNumber",// TODO
+ "OutputNumber",// TODO
+ "OutputNumber",// TODO
+ "OutputNumber",// TODO
+ "OutputNumber",// TODO
+ "OutputNumber",// TODO
+ "OutputNumber",// TODO
+ "OutputNumber",// TODO
+ "OutputNumber",// TODO
+ "OutputNumber",// TODO
},
{ NULL }
};
diff --git a/lcd.c b/lcd.c
index 760af65..1227049 100644
--- a/lcd.c
+++ b/lcd.c
@@ -410,9 +410,9 @@ void cLcd::SummaryDisplay() {
if (SummaryCurrent+offset < SummaryTextL) {
strncpy(workstring,SummaryText+SummaryCurrent+offset,wid+1);
workstring[wid]='\0';
- cLcd::SetLine(LCDMENU,i,workstring);
+ cLcd::SetLine(LCDMISC,i,workstring);
offset+=wid;
- } else cLcd::SetLine(LCDMENU,i," ");
+ } else cLcd::SetLine(LCDMISC,i," ");
}
}
diff --git a/lcdproc.c b/lcdproc.c
index 0ad5c79..be9659e 100644
--- a/lcdproc.c
+++ b/lcdproc.c
@@ -16,7 +16,7 @@
#include "lcd.h"
#include "lcdtranstbl.h"
-static const char *VERSION = "0.0.8";
+static const char *VERSION = "0.0.9";
static const char *MAINMENUENTRY = NULL;
static const char *DESCRIPTION = "LCDproc output";
@@ -163,7 +163,8 @@ void cLcdFeed::OsdTextItem(const char *Text, bool Scroll)
else if (Scroll)
LCDproc->SummaryUp();
else
- LCDproc->SummaryDown();
+ LCDproc->SummaryDown();
+ LCDproc->SetThreadState( (cLcd::ThreadStates) 3); // MISC
LCDproc->SummaryDisplay();
}
@@ -346,10 +347,10 @@ cMenuSetupLcd::cMenuSetupLcd(void)
Add(new cMenuEditIntItem( tr("Charmap"), &newLcdSetup.Charmap,0,LCDMAXTRANSTBL-1 ));
Add(new cMenuEditBoolItem( tr("AltShift"), &newLcdSetup.AltShift));
Add(new cMenuEditBoolItem( tr("BackLight"), &newLcdSetup.BackLight));
- Add(new cMenuEditIntItem( tr("OutputNumber"), &newLcdSetup.OutputNumber));
+ Add(new cMenuEditIntItem( tr("OutputNumber"), &newLcdSetup.OutputNumber));
for (int i =0 ; i < newLcdSetup.OutputNumber; i++){
- sprintf(str2,"OutputNumber %d",i);
- Add(new cMenuEditStraTrItem( tr(str2), &newLcdSetup.OutputFunction[i],14, OutputFunctionText));
+ sprintf(str2,"%s %d",tr("OutputNumber"),i);
+ Add(new cMenuEditStraTrItem( str2, &newLcdSetup.OutputFunction[i],14, OutputFunctionText));
}
}