diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-07-11 11:07:13 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-07-11 11:07:13 +0200 |
commit | 7a79059414ea2f10cba1710de0e37dcbbdfbfa42 (patch) | |
tree | 3300a2389ae07acbe21561e6f1fe78ea28674054 /epggrid.h | |
parent | ceadc0bbfe5a82ebdb961a15e2bb3669197551ad (diff) | |
download | vdr-plugin-tvguide-7a79059414ea2f10cba1710de0e37dcbbdfbfa42.tar.gz vdr-plugin-tvguide-7a79059414ea2f10cba1710de0e37dcbbdfbfa42.tar.bz2 |
Change files to unix
Diffstat (limited to 'epggrid.h')
-rw-r--r-- | epggrid.h | 66 |
1 files changed, 33 insertions, 33 deletions
@@ -1,33 +1,33 @@ -#ifndef __TVGUIDE_EPGGRID_H
-#define __TVGUIDE_EPGGRID_H
-
-#include <vdr/epg.h>
-#include "grid.h"
-
-// --- cEpgGrid -------------------------------------------------------------
-
-class cEpgGrid : public cGrid {
-private:
- const cTimer *timer;
- const cEvent *event;
- cTextWrapper *extText;
- cString timeString;
- void drawText();
- void drawIcon(cString iconText, tColor color);
- time_t Duration(void) { return event->Duration(); };
-public:
- cEpgGrid(cChannelColumn *c, const cEvent *event);
- virtual ~cEpgGrid(void);
- void SetViewportHeight();
- void PositionPixmap();
- void setText(void);
- const cEvent *GetEvent() {return event;};
- time_t StartTime() { return event->StartTime(); };
- time_t EndTime() { return event->EndTime(); };
- void SetTimer();
- void SetSwitchTimer();
- cString getTimeString(void);
- void debug();
-};
-
-#endif //__TVGUIDE_EPGGRID_H
+#ifndef __TVGUIDE_EPGGRID_H +#define __TVGUIDE_EPGGRID_H + +#include <vdr/epg.h> +#include "grid.h" + +// --- cEpgGrid ------------------------------------------------------------- + +class cEpgGrid : public cGrid { +private: + const cTimer *timer; + const cEvent *event; + cTextWrapper *extText; + cString timeString; + void drawText(); + void drawIcon(cString iconText, tColor color); + time_t Duration(void) { return event->Duration(); }; +public: + cEpgGrid(cChannelColumn *c, const cEvent *event); + virtual ~cEpgGrid(void); + void SetViewportHeight(); + void PositionPixmap(); + void setText(void); + const cEvent *GetEvent() {return event;}; + time_t StartTime() { return event->StartTime(); }; + time_t EndTime() { return event->EndTime(); }; + void SetTimer(); + void SetSwitchTimer(); + cString getTimeString(void); + void debug(); +}; + +#endif //__TVGUIDE_EPGGRID_H |