red button also available in detail view

This commit is contained in:
louis 2013-07-15 18:12:53 +02:00
parent 30957bfb0f
commit 4082580444
2 changed files with 12 additions and 4 deletions

View File

@ -50,3 +50,4 @@ VDR Plugin 'tvguide' Revision History
- Introduction of "Search & Recording" Menu - Introduction of "Search & Recording" Menu
- added possibility to replace original VDR schedules menu - added possibility to replace original VDR schedules menu
- changed channel jump logic - changed channel jump logic
- red button also available in detail view

View File

@ -653,6 +653,12 @@ eOSState cTvGuideOsd::ProcessKey(eKeys Key) {
} }
state = osContinue; state = osContinue;
} else if (detailViewActive) { } else if (detailViewActive) {
if ((Key & ~k_Repeat) == kRed) {
delete detailView;
detailView = NULL;
detailViewActive = false;
processKeyRed();
} else {
state = detailView->ProcessKey(Key); state = detailView->ProcessKey(Key);
if (state == osEnd) { if (state == osEnd) {
delete detailView; delete detailView;
@ -661,6 +667,7 @@ eOSState cTvGuideOsd::ProcessKey(eKeys Key) {
osdManager.flush(); osdManager.flush();
state = osContinue; state = osContinue;
} }
}
} else { } else {
switch (Key & ~k_Repeat) { switch (Key & ~k_Repeat) {
case kUp: processKeyUp(); break; case kUp: processKeyUp(); break;