2013-12-23 09:12:19 +01:00
|
|
|
#ifndef __TVGUIDE_CHANNELJUMP_H
|
|
|
|
#define __TVGUIDE_CHANNELJUMP_H
|
|
|
|
|
|
|
|
#include "styledpixmap.h"
|
|
|
|
|
|
|
|
// --- cChannelJump -------------------------------------------------------------
|
|
|
|
|
|
|
|
class cChannelJump : public cStyledPixmap {
|
|
|
|
private:
|
|
|
|
int channel;
|
|
|
|
cChannelGroups *channelGroups;
|
|
|
|
int maxChannels;
|
2019-03-23 13:43:37 +01:00
|
|
|
long unsigned int startTime;
|
|
|
|
long unsigned int timeout;
|
2013-12-23 09:12:19 +01:00
|
|
|
cPixmap *pixmapBack;
|
|
|
|
cPixmap *pixmapText;
|
|
|
|
void SetPixmaps(void);
|
|
|
|
void Draw(void);
|
|
|
|
cString BuildChannelString(void);
|
|
|
|
public:
|
|
|
|
cChannelJump(cChannelGroups *channelGroups);
|
|
|
|
virtual ~cChannelJump(void);
|
|
|
|
void Set(int num);
|
|
|
|
void DrawText(void);
|
|
|
|
bool TimeOut(void);
|
|
|
|
int GetChannel(void) { return channel; };
|
|
|
|
};
|
|
|
|
|
2019-03-23 13:43:37 +01:00
|
|
|
#endif //__TVGUIDE_CHANNELJUMP_H
|