summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-03-23 11:59:38 +0100
committerlouis <louis.braun@gmx.de>2013-03-23 11:59:38 +0100
commitf59b6092b1eb5aa6b76dede334b25903a2f2026a (patch)
tree952e435826f079308592d87de7d7e7c5384d80a1 /setup.c
parent1079718362567290fd53d545710f750e83b26a00 (diff)
downloadskin-nopacity-f59b6092b1eb5aa6b76dede334b25903a2f2026a.tar.gz
skin-nopacity-f59b6092b1eb5aa6b76dede334b25903a2f2026a.tar.bz2
time display for current schedule in channel display configurable (elapsed / remaining)
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index c999308..ae45b64 100644
--- a/setup.c
+++ b/setup.c
@@ -84,6 +84,7 @@ void cNopacitySetup::Store(void) {
SetupStore("fontEPGSmallSize", config.fontEPGSmallSize);
SetupStore("resolutionIconSize", config.resolutionIconSize);
SetupStore("statusIconSize", config.statusIconSize);
+ SetupStore("progressCurrentSchedule", config.progressCurrentSchedule);
SetupStore("replayHeight", config.replayHeight);
SetupStore("replayBorderVertical", config.replayBorderVertical);
SetupStore("replayBorderBottom", config.replayBorderBottom);
@@ -424,6 +425,8 @@ cNopacitySetupChannelDisplay::cNopacitySetupChannelDisplay(cNopacityConfig* data
logoPos[0] = tr("do not display");
logoPos[1] = tr("left");
logoPos[2] = tr("right");
+ progressStyleCurrentSchedule[0] = tr("show elapsed time");
+ progressStyleCurrentSchedule[1] = tr("show remaining time");
Set();
}
@@ -441,6 +444,7 @@ void cNopacitySetupChannelDisplay::Set(void) {
Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Channel Logo Height")), &tmpNopacityConfig->logoHeight, 30, 500));
Add(new cMenuEditIntItem(cString::sprintf("%s%s", *spacer, tr("Channel Logo Border")), &tmpNopacityConfig->logoBorder, 0, 200));
}
+ Add(new cMenuEditStraItem(tr("Kind of time display for current schedule"), &tmpNopacityConfig->progressCurrentSchedule, 2, progressStyleCurrentSchedule));
Add(new cMenuEditBoolItem(tr("Display Signal Strength & Quality"), &tmpNopacityConfig->displaySignalStrength));
Add(new cMenuEditIntItem(tr("Screen Resolution Icon Size"), &tmpNopacityConfig->resolutionIconSize, 30, 200));
Add(new cMenuEditIntItem(tr("Status Icons Size"), &tmpNopacityConfig->statusIconSize, 30, 150));