From b6698ed70912b4b94bf4a9449e53e400037dc4cf Mon Sep 17 00:00:00 2001 From: kamel5 Date: Sat, 5 Jun 2021 14:58:19 +0200 Subject: Adding different SetAlpha This can simplify the calls to SetAlpha. --- detailview.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'detailview.h') 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); -- cgit v1.2.3