vdr-plugin-tvguide/footer.h
2013-12-21 11:25:03 +01:00

30 lines
870 B
C++

#ifndef __TVGUIDE_FOOTER_H
#define __TVGUIDE_FOOTER_H
#include <vdr/osd.h>
#include "channelgroups.h"
// --- cFooter -------------------------------------------------------------
class cFooter {
private:
cPixmap *footer;
int buttonY;
int positionButtons[4];
cChannelGroups *channelGroups;
int currentGroup;
void SetButtonPositions(void);
void DrawButton(const char *text, tColor color, tColor borderColor, eOsdElementType buttonType, int num);
public:
cFooter(cChannelGroups *channelGroups);
virtual ~cFooter(void);
void drawRedButton();
void drawGreenButton();
void drawYellowButton();
void drawGreenButton(const char *text);
void drawYellowButton(const char *text);
void drawBlueButton();
void UpdateGroupButtons(const cChannel *channel);
};
#endif //__TVGUIDE_FOOTER_H