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,13 +653,20 @@ eOSState cTvGuideOsd::ProcessKey(eKeys Key) {
} }
state = osContinue; state = osContinue;
} else if (detailViewActive) { } else if (detailViewActive) {
state = detailView->ProcessKey(Key); if ((Key & ~k_Repeat) == kRed) {
if (state == osEnd) {
delete detailView; delete detailView;
detailView = NULL; detailView = NULL;
detailViewActive = false; detailViewActive = false;
osdManager.flush(); processKeyRed();
state = osContinue; } else {
state = detailView->ProcessKey(Key);
if (state == osEnd) {
delete detailView;
detailView = NULL;
detailViewActive = false;
osdManager.flush();
state = osContinue;
}
} }
} else { } else {
switch (Key & ~k_Repeat) { switch (Key & ~k_Repeat) {