blob: 3cfb1d73e68bd739a0065ea9f31acb5885909cab (
plain)
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
|
#ifndef __TVGUIDE_RECMENUVIEW_H
#define __TVGUIDE_RECMENUVIEW_H
#include "config.h"
#include "libskindesigner/osdelements.h"
#include "recmanager.h"
#include "recmenus.h"
class cRecMenuView {
private:
bool active;
cOsdView *recMenuView;
cOsdView *recMenuViewBuffer;
cOsdView *recMenuViewBuffer2;
const cEvent *event;
const cEvent *displayEvent;
cRecManager *recManager;
cRecMenu *activeMenu;
cRecMenu *activeMenuBuffer;
cRecMenu *activeMenuBuffer2;
cTVGuideTimerConflicts *timerConflicts;
void DrawBackground(int menuWidth, int menuHeight, bool scrolling);
void DisplayMenu(bool buffer = false, bool buffer2 = false);
void DisplaySearchTimerList(void);
bool DisplayTimerConflict(cTimer *timer);
bool DisplayTimerConflict(int timerID);
void DisplayFavoriteResults(string header, const cEvent **result, int numResults);
eOSState StateMachine(eRecMenuState nextState);
public:
cRecMenuView(void);
virtual ~cRecMenuView(void);
void Init(cOsdView *recMenuView, cOsdView *recMenuViewBuffer, cOsdView *recMenuViewBuffer2);
void DisplayRecMenu(const cEvent *event);
void DisplayFavorites(void);
void Close(void);
void Hide(bool full = false);
void Activate(bool full = false);
eOSState ProcessKey(eKeys Key);
void Flush(void) { activeMenu->Flush(); };
const cEvent *GetEvent(void) { return displayEvent; };
bool Active(void) { return active; };
};
#endif //__TVGUIDE_RECMENUVIEW_H
|