diff options
Diffstat (limited to 'displaychannel.h')
-rw-r--r-- | displaychannel.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/displaychannel.h b/displaychannel.h new file mode 100644 index 00000000..4af53814 --- /dev/null +++ b/displaychannel.h @@ -0,0 +1,32 @@ +#pragma once + +#include "baserender.h" + +class cFlatDisplayChannel : public cFlatBaseRender, public cSkinDisplayChannel { + private: + const cEvent *present; + + int channelWidth, channelHeight; + + cString channelName; + + cPixmap *chanInfoTopPixmap; + cPixmap *chanInfoBottomPixmap; + cPixmap *chanLogoPixmap; + cPixmap *chanIconsPixmap; + + int screenWidth, lastScreenWidth; + int heightBottom; + + bool isRecording; + void SignalQualityDraw(void); + void ChannelIconsDraw(const cChannel *Channel, bool Resolution); + + public: + cFlatDisplayChannel(bool WithInfo); + virtual ~cFlatDisplayChannel(); + 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); +}; |