mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
28 lines
793 B
C++
28 lines
793 B
C++
#ifndef __TVGUIDE_FOOTER_H
|
|
#define __TVGUIDE_FOOTER_H
|
|
|
|
// --- cFooter -------------------------------------------------------------
|
|
|
|
class cFooter {
|
|
private:
|
|
cPixmap *footer;
|
|
int buttonWidth;
|
|
int buttonHeight;
|
|
int buttonY;
|
|
int buttonBorder;
|
|
cChannelGroups *channelGroups;
|
|
int currentGroup;
|
|
void DrawButton(const char *text, tColor color, tColor borderColor, 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
|