diff options
author | louis <louis.braun@gmx.de> | 2013-05-20 11:37:37 +0200 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-05-20 11:37:37 +0200 |
commit | c611e004582067640111ef2f023410025201157d (patch) | |
tree | 3a71e9893bffa4bf9d38c49389dad5f43d046ec3 /dummygrid.h | |
parent | 063094f442c0ac3c592d2e5bb5c416d6820d2602 (diff) | |
download | vdr-plugin-tvguide-c611e004582067640111ef2f023410025201157d.tar.gz vdr-plugin-tvguide-c611e004582067640111ef2f023410025201157d.tar.bz2 |
rewrote epg grid handling and scrolling, added status header
Diffstat (limited to 'dummygrid.h')
-rw-r--r-- | dummygrid.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dummygrid.h b/dummygrid.h new file mode 100644 index 0000000..02088e9 --- /dev/null +++ b/dummygrid.h @@ -0,0 +1,31 @@ +#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
\ No newline at end of file |