red button also available in detail view
This commit is contained in:
parent
30957bfb0f
commit
4082580444
1
HISTORY
1
HISTORY
|
@ -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
|
||||||
|
|
15
tvguideosd.c
15
tvguideosd.c
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue