summaryrefslogtreecommitdiff
path: root/displaychannel.h
blob: f1f95d59fa3a9354f73236f7a56e9a75eb00072f (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
29
30
31
32
33
#ifndef __NOPACITY_DISPLAYCHANNEL_H
#define __NOPACITY_DISPLAYCHANNEL_H

#include <vdr/thread.h>
#include "displaychannelview.h"

class cNopacityDisplayChannel : public cSkinDisplayChannel, cThread {
private:
    cOsd *osd;
    cNopacityDisplayChannelView *channelView;
    bool fadeout;
    bool initial;
    bool groupSep;
    bool channelChange;
    time_t lastSignalDisplay;
    int lastSignalStrength;
    int lastSignalQuality;
    int lastScreenWidth;
    int currentLast;
    bool showSignal;
    const cEvent *present;
    const cEvent *following;
    virtual void Action(void);
    void SetProgressBar(const cEvent *present);
public:
    cNopacityDisplayChannel(bool WithInfo);
    virtual ~cNopacityDisplayChannel(void);
    virtual void SetChannel(const cChannel *Channel, int Number);
    virtual void SetEvents(const cEvent *Present, const cEvent *Following);
    virtual void SetMessage(eMessageType Type, const char *Text);
    virtual void Flush(void);
};
#endif //__NOPACITY_DISPLAYCHANNEL_H