2013-01-17 13:16:44 +01:00
|
|
|
#ifndef __TVGUIDE_TVGUIDEOSD_H
|
|
|
|
#define __TVGUIDE_TVGUIDEOSD_H
|
|
|
|
|
2013-12-07 15:51:50 +01:00
|
|
|
#include "timer.h"
|
|
|
|
#include "grid.h"
|
|
|
|
#include "channelcolumn.h"
|
|
|
|
#include "statusheader.h"
|
|
|
|
#include "detailview.h"
|
|
|
|
#include "timeline.h"
|
|
|
|
#include "channelgroups.h"
|
|
|
|
#include "footer.h"
|
|
|
|
#include "recmenumanager.h"
|
2013-12-23 09:12:19 +01:00
|
|
|
#include "channeljump.h"
|
2013-12-07 15:51:50 +01:00
|
|
|
|
2013-01-17 13:16:44 +01:00
|
|
|
// --- 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;
|
2013-07-09 00:17:42 +02:00
|
|
|
cRecMenuManager *recMenuManager;
|
2013-12-23 09:12:19 +01:00
|
|
|
cChannelJump *channelJumper;
|
2013-01-17 13:16:44 +01:00
|
|
|
bool detailViewActive;
|
|
|
|
void drawOsd();
|
2013-05-20 11:37:37 +02:00
|
|
|
void readChannels(const cChannel *channelStart);
|
2013-07-15 17:27:55 +02:00
|
|
|
void drawGridsChannelJump(int offset = 0);
|
2013-01-17 13:16:44 +01:00
|
|
|
void drawGridsTimeJump();
|
|
|
|
void processKeyUp();
|
|
|
|
void processKeyDown();
|
|
|
|
void processKeyLeft();
|
|
|
|
void processKeyRight();
|
|
|
|
void processKeyRed();
|
|
|
|
void processKeyGreen();
|
|
|
|
void processKeyYellow();
|
2014-01-22 17:43:53 +01:00
|
|
|
eOSState processKeyBlue(bool *alreadyUnlocked);
|
|
|
|
eOSState processKeyOk(bool *alreadyUnlocked);
|
2013-12-23 09:12:19 +01:00
|
|
|
void processNumKey(int numKey);
|
|
|
|
void TimeJump(int mode);
|
|
|
|
void ChannelJump(int num);
|
|
|
|
void CheckTimeout(void);
|
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();
|
2014-01-22 17:43:53 +01:00
|
|
|
eOSState ChannelSwitch(bool *alreadyUnlocked);
|
2013-06-01 11:08:17 +02:00
|
|
|
void DetailedEPG();
|
2013-07-09 00:17:42 +02:00
|
|
|
void SetTimers();
|
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
|