diff options
author | horchi <vdr@jwendel.de> | 2017-03-05 16:47:41 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2017-03-05 16:47:41 +0100 |
commit | 22ffee20bbacbc3378e4ba0df5b7f0c3daaeffc0 (patch) | |
tree | de46c945c62d43d1febb027b5bfa075e58c5b69a /patch/epgsearch-0.9.24.diff | |
download | vdr-plugin-graphtftng-master.tar.gz vdr-plugin-graphtftng-master.tar.bz2 |
Diffstat (limited to 'patch/epgsearch-0.9.24.diff')
-rw-r--r-- | patch/epgsearch-0.9.24.diff | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/patch/epgsearch-0.9.24.diff b/patch/epgsearch-0.9.24.diff new file mode 100644 index 0000000..b1e2f25 --- /dev/null +++ b/patch/epgsearch-0.9.24.diff @@ -0,0 +1,71 @@ +--- ../plain.0/epgsearch-0.9.24//menu_main.c 2008-04-13 20:53:44.000000000 +0200 ++++ menu_main.c 2008-09-27 14:05:23.000000000 +0200 +@@ -73,6 +73,23 @@ + } + } + ++#ifdef USE_GRAPHTFT ++void cMenuSearchMain::Display(void) ++{ ++ cOsdMenu::Display(); ++ ++ if (Count() > 0) ++ { ++ int i = 0; ++ ++ for (cOsdItem *item = First(); item; item = Next(item)) ++ cStatus::MsgOsdEventItem(!item->Selectable() ? 0 : ++ ((cMenuMyScheduleItem*)item)->event, ++ item->Text(), i++, Count()); ++ } ++} ++#endif /* GRAPHTFT */ ++ + cMenuSearchMain::~cMenuSearchMain() + { + cMenuWhatsOnSearch::ScheduleChannel(); // makes sure any posted data is cleared +--- ../plain.0/epgsearch-0.9.24//menu_main.h 2008-04-13 20:53:43.000000000 +0200 ++++ menu_main.h 2008-09-09 21:43:40.000000000 +0200 +@@ -57,6 +57,7 @@ + void UpdateCurrent(); + #ifdef USE_GRAPHTFT + virtual const char* MenuKind() { return "MenuEpgsSchedule"; } ++ virtual void Display(void); + #endif + }; + +--- ../plain.0/epgsearch-0.9.24//menu_whatson.c 2008-04-22 19:18:24.000000000 +0200 ++++ menu_whatson.c 2008-09-27 14:05:47.000000000 +0200 +@@ -296,7 +296,22 @@ + if (currentShowMode > showNext) return "MenuEpgsWhatsOnElse"; + else return "MenuWhatsOnElse"; + } +-#endif ++ ++void cMenuWhatsOnSearch::Display(void) ++{ ++ cOsdMenu::Display(); ++ ++ if (Count() > 0) ++ { ++ int i = 0; ++ ++ for (cOsdItem *item = First(); item; item = Next(item)) ++ cStatus::MsgOsdEventItem(!item->Selectable() ? 0 : ++ ((cMenuMyScheduleItem*)item)->event, ++ item->Text(), i++, Count()); ++ } ++} ++#endif /* GRAPHTFT */ + + int cMenuWhatsOnSearch::GetTab(int Tab) + { +--- ../plain.0/epgsearch-0.9.24//menu_whatson.h 2008-04-13 20:53:42.000000000 +0200 ++++ menu_whatson.h 2008-09-09 21:43:12.000000000 +0200 +@@ -79,6 +79,7 @@ + void UpdateCurrent(); + #ifdef USE_GRAPHTFT + virtual const char* MenuKind(); ++ virtual void Display(void); + #endif + }; |