vdr-plugin-tvguide/tvguideosd.h

66 lines
1.7 KiB
C
Raw Normal View History

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 "recmenuview.h"
#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;
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;
cRecMenuView *recMenuView;
cChannelJump *channelJumper;
2013-01-17 13:16:44 +01:00
bool detailViewActive;
void drawOsd();
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();
eOSState processKeyBlue(bool *alreadyUnlocked);
eOSState processKeyOk(bool *alreadyUnlocked);
void processNumKey(int numKey);
void TimeJump(int mode);
void ChannelJump(int num);
void CheckTimeout(void);
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();
eOSState ChannelSwitch(bool *alreadyUnlocked);
void DetailedEPG();
2013-07-09 00:17:42 +02:00
void SetTimers();
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);
};
#endif //__TVGUIDE_TVGUIDEOSD_H