mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
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
|
||||
- added possibility to replace original VDR schedules menu
|
||||
- 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;
|
||||
} else if (detailViewActive) {
|
||||
state = detailView->ProcessKey(Key);
|
||||
if (state == osEnd) {
|
||||
if ((Key & ~k_Repeat) == kRed) {
|
||||
delete detailView;
|
||||
detailView = NULL;
|
||||
detailViewActive = false;
|
||||
osdManager.flush();
|
||||
state = osContinue;
|
||||
processKeyRed();
|
||||
} else {
|
||||
state = detailView->ProcessKey(Key);
|
||||
if (state == osEnd) {
|
||||
delete detailView;
|
||||
detailView = NULL;
|
||||
detailViewActive = false;
|
||||
osdManager.flush();
|
||||
state = osContinue;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
switch (Key & ~k_Repeat) {
|
||||
|
Loading…
Reference in New Issue
Block a user