summaryrefslogtreecommitdiff
path: root/menuitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'menuitem.h')
-rw-r--r--menuitem.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/menuitem.h b/menuitem.h
index e92434f..33ed695 100644
--- a/menuitem.h
+++ b/menuitem.h
@@ -120,6 +120,26 @@ public:
void Render();
};
+class cNopacityTimerMenuItem : public cNopacityMenuItem {
+private:
+ const cTimer *Timer;
+ std::string strEntry;
+ std::string strEntryFull;
+ std::string strDateTime;
+ void SetTextFull(void);
+ void SetTextShort(void);
+ void DrawBackground(int handleBackground, int textLeft);
+ void DrawLogo(int logoWidth, int logoHeight);
+ std::string CreateDate(void);
+public:
+ cNopacityTimerMenuItem(cOsd *osd, const cTimer *Timer, bool sel);
+ ~cNopacityTimerMenuItem(void);
+ void CreatePixmapTextScroller(int totalWidth);
+ void CreateText(void);
+ int CheckScrollable(bool hasIcon);
+ void Render();
+};
+
class cNopacityRecordingMenuItem : public cNopacityMenuItem {
private:
const cRecording *Recording;