summaryrefslogtreecommitdiff
path: root/statusheader.h
blob: 309680318835f170d371e4db515b5f6eb0cfdfc5 (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_STATUSHEADER_H
#define __TVGUIDE_STATUSHEADER_H

#include "styledpixmap.h"
#include "grid.h"

// --- cStatusHeader  -------------------------------------------------------------

class cStatusHeader : public cStyledPixmap {
private:
    int width, height;
    int tvFrameWidth;
    cPixmap *pixmapText;
    cPixmap *pixmapTVFrame;
    int DrawPoster(const cEvent *event, int x, int y, int height, int border);
    void DecorateVideoFrame(void);
public:
    cStatusHeader(void);
    virtual ~cStatusHeader(void);
    void Draw(void);
    void ScaleVideo(void);
    void DrawInfoText(cGrid *grid);
};

#endif //__TVGUIDE_STATUSHEADER_H