diff options
author | Soeren Moch <smoch@web.de> | 2021-02-13 14:03:29 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-02-16 12:04:57 +0100 |
commit | 820c96747f56de0c4857f801eb3c7e8adfc8c034 (patch) | |
tree | 1b0fcef8b5dc3f1289c677d6f7399e1c8b2c9087 /displaychannelview.h | |
parent | 8edb4e42aedbe48e8c1e1d4caa54f116c83e2e18 (diff) | |
download | skin-nopacity-820c96747f56de0c4857f801eb3c7e8adfc8c034.tar.gz skin-nopacity-820c96747f56de0c4857f801eb3c7e8adfc8c034.tar.bz2 |
Use MessageBox for DisplayChannel
Also use MessageBox here to get the unified appearence of messages
everywhere.
Signed-off-by: Soeren Moch <smoch@web.de>
Diffstat (limited to 'displaychannelview.h')
-rw-r--r-- | displaychannelview.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/displaychannelview.h b/displaychannelview.h index 38f2401..076270b 100644 --- a/displaychannelview.h +++ b/displaychannelview.h @@ -2,6 +2,7 @@ #define __NOPACITY_DISPLAYCHANNELVIEW_H #include "imagecache.h" +#include "messagebox.h" #include <vdr/osd.h> class cNopacityDisplayChannelView { @@ -32,6 +33,7 @@ private: cPixmap *pixmapSignalLabel; cPixmap *pixmapSourceInfo; cPixmap *pixmapPoster; + cNopacityMessageBox *messageBox; tColor DrawProgressbarProgress(int left, int top, int width, int height); cString GetScreenResolutionIcon(void); std::string GetChannelSep(const cChannel *channel, bool prev); @@ -64,7 +66,7 @@ public: void DrawChannelGroups(const cChannel *Channel, cString ChannelName); void DrawSourceInfo(void); void ClearSourceInfo(void); - void DisplayMessage(const char *Text); + void DisplayMessage(eMessageType Type, const char *Text); void Flush(void) { osd->Flush(); }; }; #endif //__NOPACITY_DISPLAYCHANNELVIEW_H |