mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
directly jump number of channel columns / rows with green / yellow
This commit is contained in:
parent
0f22ee7b7e
commit
daac1abd7d
6
HISTORY
6
HISTORY
@ -23,8 +23,12 @@ VDR Plugin 'tvguide' Revision History
|
||||
2013-05-24: Version 0.0.4
|
||||
|
||||
- Introduced horizontal display
|
||||
|
||||
2013-06-01: Version 0.0.5
|
||||
|
||||
- Added Theme DarkRed
|
||||
- Fixed some Bugs (position of video, deadlock)
|
||||
- Added Theme IceBlue
|
||||
- setup of usage of blending now done with clrDoBlending theme color
|
||||
variable and not by setup
|
||||
- font color of active grid themable
|
||||
@ -34,3 +38,5 @@ VDR Plugin 'tvguide' Revision History
|
||||
group
|
||||
- Added setup option to hide last channel group
|
||||
- Display of Main Menu Entry configurable
|
||||
- Eliminated setup option "Number of channels to jump", directly jump
|
||||
number of channel columns / rows with green / yellow
|
||||
|
4
config.c
4
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);
|
||||
|
@ -3,7 +3,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: vdr-tvguide 0.0.1\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"
|
||||
"Last-Translator: Horst\n"
|
||||
"Language-Team: \n"
|
||||
@ -69,9 +69,6 @@ msgstr "Abgerundete Ecken"
|
||||
msgid "Channel Jump Mode (Keys Green / Yellow)"
|
||||
msgstr "Kanalsprung Modus (Tasten grün / gelb)"
|
||||
|
||||
msgid "Channels to Jump"
|
||||
msgstr "Anzahl der Kanäle"
|
||||
|
||||
msgid "Hide last Channel Group"
|
||||
msgstr "Letzte Kanalgruppe verstecken"
|
||||
|
||||
|
4
setup.c
4
setup.c
@ -62,7 +62,6 @@ void cTvguideSetup::Store(void) {
|
||||
SetupStore("bigStepHours", tvguideConfig.bigStepHours);
|
||||
SetupStore("hugeStepHours", tvguideConfig.hugeStepHours);
|
||||
SetupStore("channelJumpMode", tvguideConfig.channelJumpMode);
|
||||
SetupStore("jumpChannels", tvguideConfig.jumpChannels);
|
||||
SetupStore("hideLastGroup", tvguideConfig.hideLastGroup);
|
||||
SetupStore("hideChannelLogos", tvguideConfig.hideChannelLogos);
|
||||
SetupStore("logoExtension", tvguideConfig.logoExtension);
|
||||
@ -152,9 +151,6 @@ void cMenuSetupGeneral::Set(void) {
|
||||
Add(new cMenuEditBoolItem(tr("Rounded Corners"), &tmpTvguideConfig->roundedCorners));
|
||||
|
||||
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 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));
|
||||
|
Loading…
Reference in New Issue
Block a user