1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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
};
|