2013-05-20 11:37:37 +02:00
|
|
|
#ifndef __TVGUIDE_STATUSHEADER_H
|
|
|
|
#define __TVGUIDE_STATUSHEADER_H
|
|
|
|
|
2013-12-07 15:51:50 +01:00
|
|
|
#include "styledpixmap.h"
|
|
|
|
#include "grid.h"
|
|
|
|
|
2013-05-20 11:37:37 +02:00
|
|
|
// --- cStatusHeader -------------------------------------------------------------
|
|
|
|
|
|
|
|
class cStatusHeader : public cStyledPixmap {
|
|
|
|
private:
|
2013-08-25 13:57:10 +02:00
|
|
|
int width, height;
|
2013-12-21 11:25:03 +01:00
|
|
|
int tvFrameWidth;
|
2013-05-20 11:37:37 +02:00
|
|
|
cPixmap *pixmapText;
|
2013-05-24 16:23:23 +02:00
|
|
|
cPixmap *pixmapTVFrame;
|
2013-08-25 13:57:10 +02:00
|
|
|
int DrawPoster(const cEvent *event, int x, int y, int height, int border);
|
2013-12-21 11:25:03 +01:00
|
|
|
void DecorateVideoFrame(void);
|
2013-05-20 11:37:37 +02:00
|
|
|
public:
|
2013-05-26 11:38:05 +02:00
|
|
|
cStatusHeader(void);
|
|
|
|
virtual ~cStatusHeader(void);
|
2013-12-21 11:25:03 +01:00
|
|
|
void Draw(void);
|
2013-05-20 11:37:37 +02:00
|
|
|
void ScaleVideo(void);
|
|
|
|
void DrawInfoText(cGrid *grid);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__TVGUIDE_STATUSHEADER_H
|