summaryrefslogtreecommitdiff
path: root/timers.h
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-01-13 13:52:30 +0100
committerlouis <louis.braun@gmx.de>2013-01-13 13:52:30 +0100
commit478029d0e15955cdd13b78e039e325841e7dd6ac (patch)
treef765514488f96acbc2529008cd78c5505ddf3fde /timers.h
parent8d2689ab08be6da1465506534cd4e35bf81888d2 (diff)
downloadskin-nopacity-478029d0e15955cdd13b78e039e325841e7dd6ac.tar.gz
skin-nopacity-478029d0e15955cdd13b78e039e325841e7dd6ac.tar.bz2
Changed channel info icons in DisplayChannel
Diffstat (limited to 'timers.h')
-rw-r--r--timers.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/timers.h b/timers.h
new file mode 100644
index 0000000..197722f
--- /dev/null
+++ b/timers.h
@@ -0,0 +1,33 @@
+#ifndef __NOPACITY_TIMERS_H
+#define __NOPACITY_TIMERS_H
+
+class cNopacityTimer : public cListObject {
+ private:
+ cOsd *osd;
+ cPixmap *pixmap;
+ cPixmap *pixmapLogo;
+ const cTimer *timer;
+ const cFont *font;
+ const cFont *fontLarge;
+ int width;
+ int height;
+ int y;
+ cString Date;
+ cTextWrapper showName;
+ void DrawLogo(void);
+ public:
+ cNopacityTimer(cOsd *osd, const cTimer *timer, const cFont *font, const cFont *fontLarge);
+ virtual ~cNopacityTimer(void);
+ void SetGeometry(int width, int y);
+ void CreateDate(void);
+ void CreateShowName(void);
+ void CalculateHeight(int space);
+ void CreatePixmaps(int x);
+ void SetAlpha(int alpha);
+ void Show(void);
+ void Hide(void);
+ int GetHeight(void) {return pixmap->ViewPort().Height();}
+ void Render(void);
+};
+
+#endif //__NOPACITY_TIMERS_H