vdr-plugin-tvguide/statusheader.h

25 lines
675 B
C
Raw Normal View History

#ifndef __TVGUIDE_STATUSHEADER_H
#define __TVGUIDE_STATUSHEADER_H
2013-12-07 15:51:50 +01:00
#include "styledpixmap.h"
#include "grid.h"
// --- 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;
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);
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);
void ScaleVideo(void);
void DrawInfoText(cGrid *grid);
};
#endif //__TVGUIDE_STATUSHEADER_H