summaryrefslogtreecommitdiff
path: root/menuitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'menuitem.h')
-rw-r--r--menuitem.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/menuitem.h b/menuitem.h
index a3bc30e..29c4059 100644
--- a/menuitem.h
+++ b/menuitem.h
@@ -54,7 +54,7 @@ public:
virtual void CreateText(void) {};
virtual void SetPoster(void) {};
virtual int CheckScrollable(bool hasIcon) {return 0;};
- virtual void Render(bool initial = false) = 0;
+ virtual void Render(bool initial = false, bool fadeout = false) = 0;
};
// avoid confusion between vdr swap() and std::swap() for std::unique_ptr<cNopacityMenuItem>
@@ -78,7 +78,7 @@ public:
void CreatePixmapTextScroller(int totalWidth);
void CreateText(void);
int CheckScrollable(bool hasIcon);
- void Render(bool initial = false);
+ void Render(bool initial = false, bool fadeout = false);
};
class cNopacityScheduleMenuItem : public cNopacityMenuItem {
@@ -107,7 +107,7 @@ public:
void CreatePixmapTextScroller(int totalWidth);
void CreateText(void);
int CheckScrollable(bool hasIcon);
- void Render(bool initial = false);
+ void Render(bool initial = false, bool fadeout = false);
};
class cNopacityChannelMenuItem : public cNopacityMenuItem {
@@ -132,7 +132,7 @@ public:
void CreatePixmapTextScroller(int totalWidth);
void CreateText(void);
int CheckScrollable(bool hasIcon);
- void Render(bool initial = false);
+ void Render(bool initial = false, bool fadeout = false);
};
class cNopacityTimerMenuItem : public cNopacityMenuItem {
@@ -153,7 +153,7 @@ public:
void CreatePixmapTextScroller(int totalWidth);
void CreateText(void);
int CheckScrollable(bool hasIcon);
- void Render(bool initial = false);
+ void Render(bool initial = false, bool fadeout = false);
};
class cNopacityRecordingMenuItem : public cNopacityMenuItem {
@@ -192,7 +192,7 @@ public:
void CreateText(void);
void SetPoster(void);
int CheckScrollable(bool hasIcon);
- void Render(bool initial = false);
+ void Render(bool initial = false, bool fadeout = false);
};
class cNopacityDefaultMenuItem : public cNopacityMenuItem {
@@ -210,7 +210,7 @@ public:
cNopacityDefaultMenuItem(cOsd *osd, const char *text, bool sel);
~cNopacityDefaultMenuItem(void);
int CheckScrollable(bool hasIcon);
- void Render(bool initial = false);
+ void Render(bool initial = false, bool fadeout = false);
};
class cNopacityTrackMenuItem : public cNopacityMenuItem {
@@ -218,6 +218,6 @@ private:
public:
cNopacityTrackMenuItem(cOsd *osd, const char *text);
~cNopacityTrackMenuItem(void);
- void Render(bool initial = false);
+ void Render(bool initial = false, bool fadeout = false);
};
#endif //__NOPACITY_MENUITEM_H