2019-07-11 11:07:13 +02:00
|
|
|
#ifndef __TVGUIDE_STATUSHEADER_H
|
|
|
|
#define __TVGUIDE_STATUSHEADER_H
|
|
|
|
|
|
|
|
#include "styledpixmap.h"
|
2019-07-11 15:11:26 +02:00
|
|
|
#include "gridelement.h"
|
2019-07-11 11:07:13 +02:00
|
|
|
|
|
|
|
// --- 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);
|
2019-07-11 15:06:07 +02:00
|
|
|
void DrawInfoText(cGridElement *grid);
|
2019-07-11 11:07:13 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__TVGUIDE_STATUSHEADER_H
|