diff options
author | louis <louis.braun@gmx.de> | 2014-01-11 16:53:23 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-01-11 16:53:23 +0100 |
commit | 3121910dc1267c593d24e39e068bfa91f798603f (patch) | |
tree | 2ae630b5655ce7aa2821e6440b4e5056d46d91e3 /recmenumanager.c | |
parent | 9b45a5d093ce62a36aef5d48848d8e8c3864e8aa (diff) | |
download | vdr-plugin-tvguide-3121910dc1267c593d24e39e068bfa91f798603f.tar.gz vdr-plugin-tvguide-3121910dc1267c593d24e39e068bfa91f798603f.tar.bz2 |
restructured detailöed EPG View that tv frame and status buttons are displayed
Diffstat (limited to 'recmenumanager.c')
-rw-r--r-- | recmenumanager.c | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/recmenumanager.c b/recmenumanager.c index 8206164..c702184 100644 --- a/recmenumanager.c +++ b/recmenumanager.c @@ -5,6 +5,7 @@ #include "recmenumanager.h"
cRecMenuManager::cRecMenuManager(void) {
+ footer = NULL;
active = false;
activeMenu = NULL;
activeMenuBuffer = NULL;
@@ -114,17 +115,10 @@ eOSState cRecMenuManager::StateMachine(eRecMenuState nextState) { if (t) {
const cEvent *ev = t->Event();
if (ev) {
- activeMenu->Hide();
- detailView = new cDetailView(ev);
- detailView->setContent();
- detailView->drawHeader();
- detailView->drawContent();
- detailView->drawScrollbar();
- detailView->Start();
- detailViewActive = true;
+ DisplayDetailedView(ev);
}
}
- break;}
+ break; }
case rmsDeleteTimerConflictMenu: {
//caller: cRecMenuTimerConflict
//delete timer out of current timer conflict
@@ -506,14 +500,7 @@ eOSState cRecMenuManager::StateMachine(eRecMenuState nextState) { ev = menu->GetEvent();
} else break;
if (ev) {
- activeMenu->Hide();
- detailView = new cDetailView(ev);
- detailView->setContent();
- detailView->drawHeader();
- detailView->drawContent();
- detailView->drawScrollbar();
- detailView->Start();
- detailViewActive = true;
+ DisplayDetailedView(ev);
}
break;}
case rmsSearchRecord: {
@@ -745,6 +732,18 @@ bool cRecMenuManager::DisplayTimerConflict(int timerID) { return false;
}
+void cRecMenuManager::DisplayDetailedView(const cEvent *ev) {
+ activeMenu->Hide();
+ detailView = new cDetailView(ev, footer);
+ footer->SetDetailedViewMode();
+ detailView->setContent();
+ detailView->drawHeader();
+ detailView->drawContent();
+ detailView->drawScrollbar();
+ detailView->Start();
+ detailViewActive = true;
+}
+
eOSState cRecMenuManager::ProcessKey(eKeys Key) {
eOSState state = osContinue;
eRecMenuState nextState = rmsContinue;
|