summaryrefslogtreecommitdiff
path: root/timeline.h
blob: 6733322eacb9b4b40755bdad68e99e89de90db65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef __TVGUIDE_TIMELINE_H
#define __TVGUIDE_TIMELINE_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