mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
31 lines
911 B
C++
31 lines
911 B
C++
#ifndef __TVGUIDE_DUMMYGRID_H
|
|
#define __TVGUIDE_DUMMYGRID_H
|
|
|
|
// --- cDummyGrid -------------------------------------------------------------
|
|
|
|
class cDummyGrid : public cGrid {
|
|
private:
|
|
time_t start;
|
|
time_t end;
|
|
cString strText;
|
|
void drawText();
|
|
time_t Duration(void) { return (end - start); };
|
|
public:
|
|
cDummyGrid(cChannelColumn *c, time_t start, time_t end);
|
|
virtual ~cDummyGrid(void);
|
|
void SetViewportHeight();
|
|
void PositionPixmap();
|
|
void setText(void);
|
|
const cEvent *GetEvent() {return NULL;};
|
|
time_t StartTime() { return start; };
|
|
time_t EndTime() { return end; };
|
|
void SetStartTime(time_t start) { this->start = start; };
|
|
void SetEndTime(time_t end) { this->end = end; };
|
|
int calcOverlap(cGrid *neighbor);
|
|
void setTimer() {};
|
|
cString getText(void);
|
|
cString getTimeString(void);
|
|
void debug();
|
|
};
|
|
|
|
#endif //__TVGUIDE_DUMMYGRID_H
|