diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-06-04 16:22:26 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-06-06 14:20:07 +0200 |
commit | 988fb688bcb6d70ab20311b34409c5d6b17474b0 (patch) | |
tree | 68cff1f910a186e2df05efeb46b8be847207fb6c /displaychannelview.h | |
parent | 0ea065bf544ad07409ea782d064bb7fbef27e2f3 (diff) | |
download | skin-nopacity-988fb688bcb6d70ab20311b34409c5d6b17474b0.tar.gz skin-nopacity-988fb688bcb6d70ab20311b34409c5d6b17474b0.tar.bz2 |
Rework CreateOsd()
With this change it is possible to make various functions in
cNopacityDisplayChannelView and cNopacityDisplayMenuView private.
Diffstat (limited to 'displaychannelview.h')
-rw-r--r-- | displaychannelview.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/displaychannelview.h b/displaychannelview.h index f4c4935..a686486 100644 --- a/displaychannelview.h +++ b/displaychannelview.h @@ -36,13 +36,13 @@ private: tColor DrawProgressbarProgress(int left, int top, int width, int height); cString GetScreenResolutionIcon(void); std::string GetChannelSep(const cChannel *channel, bool prev); + void CreatePixmaps(void); + void DrawBackground(void); + void DrawSignalMeter(void); public: - cNopacityDisplayChannelView(void); + cNopacityDisplayChannelView(cOsd *osd); virtual ~cNopacityDisplayChannelView(void); - bool createOsd(void); - void CreatePixmaps(void); void SetAlpha(int alpha); - void DrawBackground(void); void DrawChannelLogo(const cChannel *Channel); void ClearChannelLogo(void); void DrawChannelName(cString number, cString name); @@ -58,7 +58,6 @@ public: void DrawScreenResolution(void); void ClearStatusIcons(void); void DrawPoster(const cEvent *event, bool initial, bool channelchange); - void DrawSignalMeter(void); void DrawSignal(void); void ShowSignalMeter(void); void HideSignalMeter(void); @@ -66,6 +65,5 @@ public: void DrawSourceInfo(void); void ClearSourceInfo(void); void DisplayMessage(eMessageType Type, const char *Text); - void Flush(void) { osd->Flush(); }; }; #endif //__NOPACITY_DISPLAYCHANNELVIEW_H |