summaryrefslogtreecommitdiff
path: root/tvguideosd.h
blob: c619ec4a7c1d94b4edd6091e6a08a6e6ad195569 (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
45
#ifndef __TVGUIDE_TVGUIDEOSD_H
#define __TVGUIDE_TVGUIDEOSD_H

// --- cTvGuideOsd -------------------------------------------------------------

class cTvGuideOsd : public cOsdObject {
private:
  cMyTime *myTime;
  cList<cChannelColumn> columns;
  cEpgGrid *activeGrid;
  cDetailView *detailView;
  cTimeLine *timeLine;
  cFooter *footer;
  bool detailViewActive;
  void drawOsd();
  void readChannels(cChannel *channelStart);
  bool readChannelsReverse(cChannel *channelStart);
  void drawGridsChannelJump();
  void drawGridsTimeJump();
  void processKeyUp();
  void processKeyDown();
  void processKeyLeft();
  void processKeyRight();
  void processKeyRed();
  void processKeyGreen();
  void processKeyYellow();
  eOSState processKeyBlue();
  void processKeyOk();
  void processKey1();
  void processKey3();
  void processKey4();
  void processKey6();
  void processKey7();
  void processKey9();
  void setNextActiveGrid(cEpgGrid *next);
  void ScrollForward();
  void ScrollBack();
public:
  cTvGuideOsd(void);
  virtual ~cTvGuideOsd(void);
  virtual void Show(void);
  virtual eOSState ProcessKey(eKeys Key);
};

#endif //__TVGUIDE_TVGUIDEOSD_H