summaryrefslogtreecommitdiff
path: root/menuitem.c
diff options
context:
space:
mode:
Diffstat (limited to 'menuitem.c')
-rw-r--r--menuitem.c38
1 files changed, 28 insertions, 10 deletions
diff --git a/menuitem.c b/menuitem.c
index 6d17892..81d590f 100644
--- a/menuitem.c
+++ b/menuitem.c
@@ -477,11 +477,20 @@ void cNopacityScheduleMenuItem::Render() {
infoTextWindow = NULL;
}
if (current && Event) {
- infoTextWindow = new cNopacityTextWindow(osd, fontEPGWindow, vidWin);
- infoTextWindow->SetGeometry(textWindow);
- infoTextWindow->SetText(Event->Description());
- infoTextWindow->SetPoster(Event, false);
- infoTextWindow->Start();
+ if (config.menuSchedulesWindowMode == 0) {
+ //window mode
+ infoTextWindow = new cNopacityTextWindow(osd, fontEPGWindow, vidWin);
+ infoTextWindow->SetGeometry(textWindow);
+ infoTextWindow->SetText(Event->Description());
+ infoTextWindow->SetPoster(Event, false);
+ infoTextWindow->Start();
+ } else {
+ //fullscreen mode
+ infoTextWindow = new cNopacityTextWindow(osd, fontEPGWindow, fontEPGWindowLarge);
+ infoTextWindow->SetGeometry(textWindow);
+ infoTextWindow->SetPoster(Event, false, true);
+ infoTextWindow->SetEvent(Event);
+ }
}
} else {
if (Event) {
@@ -1268,11 +1277,20 @@ void cNopacityRecordingMenuItem::Render() {
infoTextWindow = NULL;
}
if (current) {
- infoTextWindow = new cNopacityTextWindow(osd, fontEPGWindow, vidWin);
- infoTextWindow->SetGeometry(textWindow);
- infoTextWindow->SetText(Recording->Info()->Description());
- infoTextWindow->SetPoster(Recording->Info()->GetEvent(), true);
- infoTextWindow->Start();
+ if (config.menuRecordingsWindowMode == 0) {
+ //window mode
+ infoTextWindow = new cNopacityTextWindow(osd, fontEPGWindow, vidWin);
+ infoTextWindow->SetGeometry(textWindow);
+ infoTextWindow->SetText(Recording->Info()->Description());
+ infoTextWindow->SetPoster(Recording->Info()->GetEvent(), true);
+ infoTextWindow->Start();
+ } else {
+ //fullscreen mode
+ infoTextWindow = new cNopacityTextWindow(osd, fontEPGWindow, fontEPGWindowLarge);
+ infoTextWindow->SetGeometry(textWindow);
+ infoTextWindow->SetPoster(Recording->Info()->GetEvent(), true, true);
+ infoTextWindow->SetRecording(Recording);
+ }
}
}
}