mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Fixed Bug 1484
This commit is contained in:
parent
4120b0eae2
commit
5fa365b68c
1
HISTORY
1
HISTORY
@ -90,3 +90,4 @@ Version 1.1.0
|
|||||||
if "close tvguide on channel switch" is configured
|
if "close tvguide on channel switch" is configured
|
||||||
- fixed wrong font for clock in horizontal view
|
- fixed wrong font for clock in horizontal view
|
||||||
- Added feature to jump to a specific channel with number keys
|
- Added feature to jump to a specific channel with number keys
|
||||||
|
- Fixed Bug 1484
|
||||||
|
@ -7,23 +7,23 @@
|
|||||||
#include "channeljump.h"
|
#include "channeljump.h"
|
||||||
|
|
||||||
cChannelJump::cChannelJump(cChannelGroups *channelGroups) {
|
cChannelJump::cChannelJump(cChannelGroups *channelGroups) {
|
||||||
this->channelGroups = channelGroups;
|
this->channelGroups = channelGroups;
|
||||||
pixmapText = NULL;
|
pixmapText = NULL;
|
||||||
channel = 0;
|
channel = 0;
|
||||||
if (!tvguideConfig.hideLastGroup) {
|
if (!tvguideConfig.hideLastGroup) {
|
||||||
maxChannels = Channels.MaxNumber();
|
maxChannels = Channels.MaxNumber();
|
||||||
} else {
|
} else {
|
||||||
maxChannels = channelGroups->GetLastValidChannel();
|
maxChannels = channelGroups->GetLastValidChannel();
|
||||||
}
|
}
|
||||||
timeout = Setup.ChannelEntryTimeout;
|
timeout = Setup.ChannelEntryTimeout;
|
||||||
startTime = cTimeMs::Now();
|
startTime = cTimeMs::Now();
|
||||||
SetPixmaps();
|
SetPixmaps();
|
||||||
Draw();
|
Draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
cChannelJump::~cChannelJump(void) {
|
cChannelJump::~cChannelJump(void) {
|
||||||
osdManager.releasePixmap(pixmapBack);
|
osdManager.releasePixmap(pixmapBack);
|
||||||
osdManager.releasePixmap(pixmapText);
|
osdManager.releasePixmap(pixmapText);
|
||||||
}
|
}
|
||||||
|
|
||||||
void cChannelJump::SetPixmaps(void) {
|
void cChannelJump::SetPixmaps(void) {
|
||||||
@ -37,7 +37,7 @@ void cChannelJump::SetPixmaps(void) {
|
|||||||
|
|
||||||
void cChannelJump::Draw(void) {
|
void cChannelJump::Draw(void) {
|
||||||
if (tvguideConfig.style == eStyleGraphical) {
|
if (tvguideConfig.style == eStyleGraphical) {
|
||||||
drawBackgroundGraphical(bgChannelJump);
|
drawBackgroundGraphical(bgChannelJump);
|
||||||
} else {
|
} else {
|
||||||
pixmap->Fill(theme.Color(clrBackground));
|
pixmap->Fill(theme.Color(clrBackground));
|
||||||
drawBorder();
|
drawBorder();
|
||||||
@ -47,9 +47,9 @@ void cChannelJump::Draw(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void cChannelJump::DrawText(void) {
|
void cChannelJump::DrawText(void) {
|
||||||
pixmapText->Fill(clrTransparent);
|
pixmapText->Fill(clrTransparent);
|
||||||
|
|
||||||
cString header = cString::sprintf("%s:", tr("Channel"));
|
cString header = cString::sprintf("%s:", tr("Channel"));
|
||||||
|
|
||||||
const cFont *font = fontManager.FontMessageBox;
|
const cFont *font = fontManager.FontMessageBox;
|
||||||
const cFont *fontHeader = fontManager.FontMessageBoxLarge;
|
const cFont *fontHeader = fontManager.FontMessageBoxLarge;
|
||||||
|
@ -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-12-23 09:03+0100\n"
|
"POT-Creation-Date: 2013-12-24 11:13+0100\n"
|
||||||
"PO-Revision-Date: 2013-09-21 17:49+0200\n"
|
"PO-Revision-Date: 2013-09-21 17:49+0200\n"
|
||||||
"Last-Translator: My friend <Sampep> Thanks David <Gabychan> <gbonich@gmail.com>\n"
|
"Last-Translator: My friend <Sampep> Thanks David <Gabychan> <gbonich@gmail.com>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@ -432,6 +432,9 @@ msgstr ""
|
|||||||
msgid "Theme"
|
msgid "Theme"
|
||||||
msgstr "Plantilla"
|
msgstr "Plantilla"
|
||||||
|
|
||||||
|
msgid "Time to display in minutes"
|
||||||
|
msgstr "Temps a mostrar en minuts"
|
||||||
|
|
||||||
msgid "Rounded Corners"
|
msgid "Rounded Corners"
|
||||||
msgstr "Cantells rodons"
|
msgstr "Cantells rodons"
|
||||||
|
|
||||||
@ -450,9 +453,6 @@ msgstr ""
|
|||||||
msgid "Hide last Channel Group"
|
msgid "Hide last Channel Group"
|
||||||
msgstr "Amaga el darrer grup de canals"
|
msgstr "Amaga el darrer grup de canals"
|
||||||
|
|
||||||
msgid "Time to display in minutes"
|
|
||||||
msgstr "Temps a mostrar en minuts"
|
|
||||||
|
|
||||||
msgid "Big Step (Keys 1 / 3) in hours"
|
msgid "Big Step (Keys 1 / 3) in hours"
|
||||||
msgstr "Salt (Botons 1 / 3) en hores"
|
msgstr "Salt (Botons 1 / 3) en hores"
|
||||||
|
|
||||||
|
@ -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-12-23 09:03+0100\n"
|
"POT-Creation-Date: 2013-12-24 11:13+0100\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"
|
||||||
@ -429,6 +429,9 @@ msgstr "Entsprechendes nOpacity Theme benutzen"
|
|||||||
msgid "Theme"
|
msgid "Theme"
|
||||||
msgstr "Theme"
|
msgstr "Theme"
|
||||||
|
|
||||||
|
msgid "Time to display in minutes"
|
||||||
|
msgstr "Angezeigte Zeitspanne in Minuten"
|
||||||
|
|
||||||
msgid "Rounded Corners"
|
msgid "Rounded Corners"
|
||||||
msgstr "Abgerundete Ecken"
|
msgstr "Abgerundete Ecken"
|
||||||
|
|
||||||
@ -447,9 +450,6 @@ msgstr "Funktion der Nummerntasten"
|
|||||||
msgid "Hide last Channel Group"
|
msgid "Hide last Channel Group"
|
||||||
msgstr "Letzte Kanalgruppe verstecken"
|
msgstr "Letzte Kanalgruppe verstecken"
|
||||||
|
|
||||||
msgid "Time to display in minutes"
|
|
||||||
msgstr "Angezeigte Zeitspanne in Minuten"
|
|
||||||
|
|
||||||
msgid "Big Step (Keys 1 / 3) in hours"
|
msgid "Big Step (Keys 1 / 3) in hours"
|
||||||
msgstr "Großer Sprung (Tasten 1 / 3) in Stunden"
|
msgstr "Großer Sprung (Tasten 1 / 3) in Stunden"
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: vdr-tvguide 1.0.0\n"
|
"Project-Id-Version: vdr-tvguide 1.0.0\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2013-12-23 09:03+0100\n"
|
"POT-Creation-Date: 2013-12-24 11:13+0100\n"
|
||||||
"PO-Revision-Date: 2013-09-25 17:49+0400\n"
|
"PO-Revision-Date: 2013-09-25 17:49+0400\n"
|
||||||
"Last-Translator: AmiD, ilya\n"
|
"Last-Translator: AmiD, ilya\n"
|
||||||
"Language-Team: Russia-Cherepovets(wm.amid@gmail.com)\n"
|
"Language-Team: Russia-Cherepovets(wm.amid@gmail.com)\n"
|
||||||
@ -429,6 +429,9 @@ msgstr ""
|
|||||||
msgid "Theme"
|
msgid "Theme"
|
||||||
msgstr "Тема"
|
msgstr "Тема"
|
||||||
|
|
||||||
|
msgid "Time to display in minutes"
|
||||||
|
msgstr "Время показа в минутах"
|
||||||
|
|
||||||
msgid "Rounded Corners"
|
msgid "Rounded Corners"
|
||||||
msgstr "Закруглять углы"
|
msgstr "Закруглять углы"
|
||||||
|
|
||||||
@ -447,9 +450,6 @@ msgstr ""
|
|||||||
msgid "Hide last Channel Group"
|
msgid "Hide last Channel Group"
|
||||||
msgstr "Скрывать последнюю группу каналов"
|
msgstr "Скрывать последнюю группу каналов"
|
||||||
|
|
||||||
msgid "Time to display in minutes"
|
|
||||||
msgstr "Время показа в минутах"
|
|
||||||
|
|
||||||
msgid "Big Step (Keys 1 / 3) in hours"
|
msgid "Big Step (Keys 1 / 3) in hours"
|
||||||
msgstr "Прыжок (Кнопки 1 / 3) в часах"
|
msgstr "Прыжок (Кнопки 1 / 3) в часах"
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: vdr-tvguide 1.1.0\n"
|
"Project-Id-Version: vdr-tvguide 1.1.0\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2013-12-23 09:03+0100\n"
|
"POT-Creation-Date: 2013-12-24 11:13+0100\n"
|
||||||
"PO-Revision-Date: 2013-09-15 00:12+0100\n"
|
"PO-Revision-Date: 2013-09-15 00:12+0100\n"
|
||||||
"Last-Translator: Milan Hrala <hrala.milan@gmail.com>\n"
|
"Last-Translator: Milan Hrala <hrala.milan@gmail.com>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@ -429,6 +429,9 @@ msgstr ""
|
|||||||
msgid "Theme"
|
msgid "Theme"
|
||||||
msgstr "Téma"
|
msgstr "Téma"
|
||||||
|
|
||||||
|
msgid "Time to display in minutes"
|
||||||
|
msgstr "Zobrazený èas v minútach"
|
||||||
|
|
||||||
msgid "Rounded Corners"
|
msgid "Rounded Corners"
|
||||||
msgstr "Zaoblené rohy"
|
msgstr "Zaoblené rohy"
|
||||||
|
|
||||||
@ -447,9 +450,6 @@ msgstr ""
|
|||||||
msgid "Hide last Channel Group"
|
msgid "Hide last Channel Group"
|
||||||
msgstr "Skry» poslednú skupinu kanálov"
|
msgstr "Skry» poslednú skupinu kanálov"
|
||||||
|
|
||||||
msgid "Time to display in minutes"
|
|
||||||
msgstr "Zobrazený èas v minútach"
|
|
||||||
|
|
||||||
msgid "Big Step (Keys 1 / 3) in hours"
|
msgid "Big Step (Keys 1 / 3) in hours"
|
||||||
msgstr "Veµké skoky (tlaèidlá 1 / 3) v hodinách"
|
msgstr "Veµké skoky (tlaèidlá 1 / 3) v hodinách"
|
||||||
|
|
||||||
|
10
tvguideosd.c
10
tvguideosd.c
@ -434,7 +434,10 @@ void cTvGuideOsd::processKeyGreen() {
|
|||||||
if (prev) {
|
if (prev) {
|
||||||
readChannels(prev);
|
readChannels(prev);
|
||||||
if (columns.Count() > 0) {
|
if (columns.Count() > 0) {
|
||||||
drawGridsChannelJump(currentCol);
|
if (tvguideConfig.channelJumpMode == eGroupJump)
|
||||||
|
drawGridsChannelJump();
|
||||||
|
else
|
||||||
|
drawGridsChannelJump(currentCol);
|
||||||
}
|
}
|
||||||
osdManager.flush();
|
osdManager.flush();
|
||||||
}
|
}
|
||||||
@ -471,7 +474,10 @@ void cTvGuideOsd::processKeyYellow() {
|
|||||||
if (next) {
|
if (next) {
|
||||||
readChannels(next);
|
readChannels(next);
|
||||||
if (columns.Count() > 0) {
|
if (columns.Count() > 0) {
|
||||||
drawGridsChannelJump(currentCol);
|
if (tvguideConfig.channelJumpMode == eGroupJump)
|
||||||
|
drawGridsChannelJump();
|
||||||
|
else
|
||||||
|
drawGridsChannelJump(currentCol);
|
||||||
}
|
}
|
||||||
osdManager.flush();
|
osdManager.flush();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user