2013-05-20 11:37:37 +02:00
|
|
|
#ifndef __TVGUIDE_HEADERGRID_H
|
|
|
|
#define __TVGUIDE_HEADERGRID_H
|
|
|
|
|
2013-12-07 15:51:50 +01:00
|
|
|
#include "grid.h"
|
|
|
|
|
2013-05-20 11:37:37 +02:00
|
|
|
// --- cHeaderGrid -------------------------------------------------------------
|
|
|
|
|
|
|
|
class cHeaderGrid : public cGrid {
|
|
|
|
private:
|
|
|
|
cPixmap *pixmapLogo;
|
2013-05-24 16:23:23 +02:00
|
|
|
void drawChannelHorizontal(const cChannel *channel);
|
|
|
|
void drawChannelVertical(const cChannel *channel);
|
2013-05-20 11:37:37 +02:00
|
|
|
public:
|
2013-05-26 11:38:05 +02:00
|
|
|
cHeaderGrid(void);
|
|
|
|
virtual ~cHeaderGrid(void);
|
2013-05-20 11:37:37 +02:00
|
|
|
void createBackground(int num);
|
|
|
|
void drawChannel(const cChannel *channel);
|
|
|
|
void setPosition(int num);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__TVGUIDE_HEADERGRID_H
|