summaryrefslogtreecommitdiff
path: root/footer.h
blob: 1c75a1438e82809735deb3f75353d5482cac2c31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#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