directly jump number of channel columns / rows with green / yellow

This commit is contained in:
louis 2013-06-01 10:44:14 +02:00
parent 0f22ee7b7e
commit daac1abd7d
4 changed files with 9 additions and 10 deletions

View File

@ -23,8 +23,12 @@ VDR Plugin 'tvguide' Revision History
2013-05-24: Version 0.0.4 2013-05-24: Version 0.0.4
- Introduced horizontal display - Introduced horizontal display
2013-06-01: Version 0.0.5
- Added Theme DarkRed - Added Theme DarkRed
- Fixed some Bugs (position of video, deadlock) - Fixed some Bugs (position of video, deadlock)
- Added Theme IceBlue
- setup of usage of blending now done with clrDoBlending theme color - setup of usage of blending now done with clrDoBlending theme color
variable and not by setup variable and not by setup
- font color of active grid themable - font color of active grid themable
@ -34,3 +38,5 @@ VDR Plugin 'tvguide' Revision History
group group
- Added setup option to hide last channel group - Added setup option to hide last channel group
- Display of Main Menu Entry configurable - Display of Main Menu Entry configurable
- Eliminated setup option "Number of channels to jump", directly jump
number of channel columns / rows with green / yellow

View File

@ -45,7 +45,7 @@ cTvguideConfig::cTvguideConfig() {
bigStepHours = 3; bigStepHours = 3;
hugeStepHours = 24; hugeStepHours = 24;
channelJumpMode = eNumJump; channelJumpMode = eNumJump;
jumpChannels = 10; jumpChannels = 0;
hideLastGroup = 0; hideLastGroup = 0;
hideChannelLogos = 0; hideChannelLogos = 0;
logoWidthRatio = 13; logoWidthRatio = 13;
@ -157,6 +157,7 @@ void cTvguideConfig::SetGeometry(int width, int height) {
} }
numGrids = (displayMode == eVertical)?channelCols:channelRows; numGrids = (displayMode == eVertical)?channelCols:channelRows;
jumpChannels = numGrids;
} }
void cTvguideConfig::SetFonts(void){ 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, "bigStepHours") == 0) bigStepHours = atoi(Value);
else if (strcmp(Name, "hugeStepHours") == 0) hugeStepHours = atoi(Value); else if (strcmp(Name, "hugeStepHours") == 0) hugeStepHours = atoi(Value);
else if (strcmp(Name, "channelJumpMode") == 0) channelJumpMode = 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, "hideLastGroup") == 0) hideLastGroup = atoi(Value);
else if (strcmp(Name, "hideEpgImages") == 0) hideEpgImages = atoi(Value); else if (strcmp(Name, "hideEpgImages") == 0) hideEpgImages = atoi(Value);
else if (strcmp(Name, "epgImageWidth") == 0) epgImageWidth = atoi(Value); else if (strcmp(Name, "epgImageWidth") == 0) epgImageWidth = atoi(Value);

View File

@ -3,7 +3,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: vdr-tvguide 0.0.1\n" "Project-Id-Version: vdr-tvguide 0.0.1\n"
"Report-Msgid-Bugs-To: <see README>\n" "Report-Msgid-Bugs-To: <see README>\n"
"POT-Creation-Date: 2013-05-31 14:01+0200\n" "POT-Creation-Date: 2013-06-01 10:39+0200\n"
"PO-Revision-Date: 2012-08-25 17:49+0200\n" "PO-Revision-Date: 2012-08-25 17:49+0200\n"
"Last-Translator: Horst\n" "Last-Translator: Horst\n"
"Language-Team: \n" "Language-Team: \n"
@ -69,9 +69,6 @@ msgstr "Abgerundete Ecken"
msgid "Channel Jump Mode (Keys Green / Yellow)" msgid "Channel Jump Mode (Keys Green / Yellow)"
msgstr "Kanalsprung Modus (Tasten grün / gelb)" msgstr "Kanalsprung Modus (Tasten grün / gelb)"
msgid "Channels to Jump"
msgstr "Anzahl der Kanäle"
msgid "Hide last Channel Group" msgid "Hide last Channel Group"
msgstr "Letzte Kanalgruppe verstecken" msgstr "Letzte Kanalgruppe verstecken"

View File

@ -62,7 +62,6 @@ void cTvguideSetup::Store(void) {
SetupStore("bigStepHours", tvguideConfig.bigStepHours); SetupStore("bigStepHours", tvguideConfig.bigStepHours);
SetupStore("hugeStepHours", tvguideConfig.hugeStepHours); SetupStore("hugeStepHours", tvguideConfig.hugeStepHours);
SetupStore("channelJumpMode", tvguideConfig.channelJumpMode); SetupStore("channelJumpMode", tvguideConfig.channelJumpMode);
SetupStore("jumpChannels", tvguideConfig.jumpChannels);
SetupStore("hideLastGroup", tvguideConfig.hideLastGroup); SetupStore("hideLastGroup", tvguideConfig.hideLastGroup);
SetupStore("hideChannelLogos", tvguideConfig.hideChannelLogos); SetupStore("hideChannelLogos", tvguideConfig.hideChannelLogos);
SetupStore("logoExtension", tvguideConfig.logoExtension); SetupStore("logoExtension", tvguideConfig.logoExtension);
@ -152,9 +151,6 @@ void cMenuSetupGeneral::Set(void) {
Add(new cMenuEditBoolItem(tr("Rounded Corners"), &tmpTvguideConfig->roundedCorners)); Add(new cMenuEditBoolItem(tr("Rounded Corners"), &tmpTvguideConfig->roundedCorners));
Add(new cMenuEditStraItem(tr("Channel Jump Mode (Keys Green / Yellow)"), &tmpTvguideConfig->channelJumpMode, 2, jumpMode)); Add(new cMenuEditStraItem(tr("Channel Jump Mode (Keys Green / Yellow)"), &tmpTvguideConfig->channelJumpMode, 2, jumpMode));
if (tmpTvguideConfig->channelJumpMode == eNumJump) {
Add(new cMenuEditIntItem(cString::sprintf("%s%s", indent, tr("Channels to Jump")), &tmpTvguideConfig->jumpChannels, 2, 30));
}
Add(new cMenuEditBoolItem(tr("Hide last Channel Group"), &tmpTvguideConfig->hideLastGroup)); Add(new cMenuEditBoolItem(tr("Hide last Channel Group"), &tmpTvguideConfig->hideLastGroup));
Add(new cMenuEditIntItem(tr("Time to display in minutes"), &tmpTvguideConfig->displayTime, 120, 320)); Add(new cMenuEditIntItem(tr("Time to display in minutes"), &tmpTvguideConfig->displayTime, 120, 320));
Add(new cMenuEditIntItem(tr("Big Step (Keys 1 / 3) in hours"), &tmpTvguideConfig->bigStepHours, 1, 12)); Add(new cMenuEditIntItem(tr("Big Step (Keys 1 / 3) in hours"), &tmpTvguideConfig->bigStepHours, 1, 12));