summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-06-01 10:44:14 +0200
committerlouis <louis.braun@gmx.de>2013-06-01 10:44:14 +0200
commitdaac1abd7dc229f4f8ce8b727658fe18a191083a (patch)
tree0167b2b8db38bfa2586743070aa155dcaabf6915 /config.c
parent0f22ee7b7e184d95a6c2c052f0f63e0cdf6ccf5d (diff)
downloadvdr-plugin-tvguide-daac1abd7dc229f4f8ce8b727658fe18a191083a.tar.gz
vdr-plugin-tvguide-daac1abd7dc229f4f8ce8b727658fe18a191083a.tar.bz2
directly jump number of channel columns / rows with green / yellow
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index e44e353..9b032cb 100644
--- a/config.c
+++ b/config.c
@@ -45,7 +45,7 @@ cTvguideConfig::cTvguideConfig() {
bigStepHours = 3;
hugeStepHours = 24;
channelJumpMode = eNumJump;
- jumpChannels = 10;
+ jumpChannels = 0;
hideLastGroup = 0;
hideChannelLogos = 0;
logoWidthRatio = 13;
@@ -157,6 +157,7 @@ void cTvguideConfig::SetGeometry(int width, int height) {
}
numGrids = (displayMode == eVertical)?channelCols:channelRows;
+ jumpChannels = numGrids;
}
void cTvguideConfig::SetFonts(void){
@@ -253,7 +254,6 @@ bool cTvguideConfig::SetupParse(const char *Name, const char *Value) {
else if (strcmp(Name, "bigStepHours") == 0) bigStepHours = atoi(Value);
else if (strcmp(Name, "hugeStepHours") == 0) hugeStepHours = atoi(Value);
else if (strcmp(Name, "channelJumpMode") == 0) channelJumpMode = atoi(Value);
- else if (strcmp(Name, "jumpChannels") == 0) jumpChannels = atoi(Value);
else if (strcmp(Name, "hideLastGroup") == 0) hideLastGroup = atoi(Value);
else if (strcmp(Name, "hideEpgImages") == 0) hideEpgImages = atoi(Value);
else if (strcmp(Name, "epgImageWidth") == 0) epgImageWidth = atoi(Value);