diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-06-05 14:58:19 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-06-06 14:27:36 +0200 |
commit | b6698ed70912b4b94bf4a9449e53e400037dc4cf (patch) | |
tree | bb26d8c553257b68103a81d36a62250e946eba4c /detailview.h | |
parent | 988fb688bcb6d70ab20311b34409c5d6b17474b0 (diff) | |
download | skin-nopacity-b6698ed70912b4b94bf4a9449e53e400037dc4cf.tar.gz skin-nopacity-b6698ed70912b4b94bf4a9449e53e400037dc4cf.tar.bz2 |
Adding different SetAlpha
This can simplify the calls to SetAlpha.
Diffstat (limited to 'detailview.h')
-rw-r--r-- | detailview.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/detailview.h b/detailview.h index f0ee8d9..e94d4b7 100644 --- a/detailview.h +++ b/detailview.h @@ -69,6 +69,7 @@ protected: public: cNopacityView(cOsd *osd); virtual ~cNopacityView(void); + virtual void SetAlpha(int Alpha) {}; void SetTitle(const char *t) { title = t ? t : ""; }; void SetSubTitle(const char *s) { subTitle = s ? s : ""; }; void SetDateTime(const char *dt) { dateTime = dt; }; @@ -102,6 +103,7 @@ protected: public: cNopacityEPGView(cOsd *osd); virtual ~cNopacityEPGView(void); + void SetAlpha(int Alpha = 0); void KeyLeft(void); void KeyRight(void); void Action(void); @@ -122,6 +124,7 @@ protected: public: cNopacitySeriesView(cOsd *osd, int seriesId, int episodeId); virtual ~cNopacitySeriesView(void); + void SetAlpha(int Alpha = 0); void LoadMedia(void); void KeyLeft(void); void KeyRight(void); @@ -141,6 +144,7 @@ protected: public: cNopacityMovieView(cOsd *osd, int movieId); virtual ~cNopacityMovieView(void); + void SetAlpha(int Alpha = 0); void LoadMedia(void); void KeyLeft(void); void KeyRight(void); @@ -151,7 +155,8 @@ class cNopacityTextView : public cNopacityView { protected: public: cNopacityTextView(cOsd *osd); - virtual ~cNopacityTextView(void); + virtual ~cNopacityTextView(void); + void SetAlpha(int Alpha = 0); void KeyLeft(void); void KeyRight(void); void Action(void); |