2013-01-17 13:16:44 +01:00
|
|
|
#ifndef __TVGUIDE_TVGUIDEOSD_H
|
|
|
|
#define __TVGUIDE_TVGUIDEOSD_H
|
|
|
|
|
|
|
|
// --- cTvGuideOsd -------------------------------------------------------------
|
|
|
|
|
|
|
|
class cTvGuideOsd : public cOsdObject {
|
|
|
|
private:
|
|
|
|
cMyTime *myTime;
|
|
|
|
cList<cChannelColumn> columns;
|
2013-05-20 11:37:37 +02:00
|
|
|
cGrid *activeGrid;
|
|
|
|
cStatusHeader *statusHeader;
|
2013-01-17 13:16:44 +01:00
|
|
|
cDetailView *detailView;
|
|
|
|
cTimeLine *timeLine;
|
2013-05-31 13:58:22 +02:00
|
|
|
cChannelGroups *channelGroups;
|
2013-01-17 13:16:44 +01:00
|
|
|
cFooter *footer;
|
|
|
|
bool detailViewActive;
|
|
|
|
void drawOsd();
|
2013-05-20 11:37:37 +02:00
|
|
|
void readChannels(const cChannel *channelStart);
|
2013-01-17 13:16:44 +01:00
|
|
|
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();
|
2013-05-20 11:37:37 +02:00
|
|
|
void setNextActiveGrid(cGrid *next);
|
2013-05-24 16:23:23 +02:00
|
|
|
void channelForward();
|
|
|
|
void channelBack();
|
|
|
|
void timeForward();
|
|
|
|
void timeBack();
|
2013-01-17 13:16:44 +01:00
|
|
|
void ScrollForward();
|
|
|
|
void ScrollBack();
|
2013-05-20 11:37:37 +02:00
|
|
|
void dump();
|
2013-01-17 13:16:44 +01:00
|
|
|
public:
|
|
|
|
cTvGuideOsd(void);
|
|
|
|
virtual ~cTvGuideOsd(void);
|
|
|
|
virtual void Show(void);
|
|
|
|
virtual eOSState ProcessKey(eKeys Key);
|
|
|
|
};
|
|
|
|
|
2013-05-20 11:37:37 +02:00
|
|
|
#endif //__TVGUIDE_TVGUIDEOSD_H
|