vdr-plugin-tvguide/footer.h

28 lines
793 B
C
Raw Normal View History

2013-01-17 13:16:44 +01:00
#ifndef __TVGUIDE_FOOTER_H
#define __TVGUIDE_FOOTER_H
// --- cFooter -------------------------------------------------------------
class cFooter {
private:
2013-05-26 11:38:05 +02:00
cPixmap *footer;
int buttonWidth;
int buttonHeight;
int buttonY;
int buttonBorder;
2013-05-31 13:58:22 +02:00
cChannelGroups *channelGroups;
int currentGroup;
void DrawButton(const char *text, tColor color, tColor borderColor, int num);
2013-01-17 13:16:44 +01:00
public:
2013-05-31 13:58:22 +02:00
cFooter(cChannelGroups *channelGroups);
2013-05-26 11:38:05 +02:00
virtual ~cFooter(void);
void drawRedButton();
void drawGreenButton();
void drawYellowButton();
2013-05-31 13:58:22 +02:00
void drawGreenButton(const char *text);
void drawYellowButton(const char *text);
2013-05-26 11:38:05 +02:00
void drawBlueButton();
2013-05-31 13:58:22 +02:00
void UpdateGroupButtons(const cChannel *channel);
2013-01-17 13:16:44 +01:00
};
#endif //__TVGUIDE_FOOTER_H