mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
28 lines
818 B
C++
28 lines
818 B
C++
#ifndef __TVGUIDE_TIMELINE_H
|
|
#define __TVGUIDE_TIMELINE_H
|
|
|
|
#include "timer.h"
|
|
#include "styledpixmap.h"
|
|
|
|
// --- cTimeLine -------------------------------------------------------------
|
|
|
|
class cTimeLine {
|
|
private:
|
|
cMyTime *myTime;
|
|
cStyledPixmap *dateViewer;
|
|
cPixmap *timeline;
|
|
cPixmap *timelineBack;
|
|
cStyledPixmap *clock;
|
|
cImage *createBackgroundImage(int width, int height, tColor clrBgr, tColor clrBlend);
|
|
void decorateTile(int posX, int posY, int tileWidth, int tileHeight);
|
|
void drawRoundedCorners(int posX, int posY, int width, int height, int radius);
|
|
public:
|
|
cTimeLine(cMyTime *myTime);
|
|
virtual ~cTimeLine(void);
|
|
void drawDateViewer();
|
|
void drawTimeline();
|
|
void setTimeline();
|
|
void drawClock();
|
|
};
|
|
|
|
#endif //__TVGUIDE_TIMELINE_H
|