diff options
author | louis <louis.braun@gmx.de> | 2014-01-19 13:52:05 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-01-19 13:52:05 +0100 |
commit | fcb664da93677cf540d384ee1d377493a2b475ba (patch) | |
tree | 96f13cc83874e74b4d351a66f9ed8e7022e9c8cb /recmenuitem.h | |
parent | 475964a7810214229c9d60c79e00192fd65eb1a0 (diff) | |
download | vdr-plugin-tvguide-fcb664da93677cf540d384ee1d377493a2b475ba.tar.gz vdr-plugin-tvguide-fcb664da93677cf540d384ee1d377493a2b475ba.tar.bz2 |
Improved favorites menu with whats on now / next and up to four user defined times
Diffstat (limited to 'recmenuitem.h')
-rw-r--r-- | recmenuitem.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/recmenuitem.h b/recmenuitem.h index 7f67777..5a0136e 100644 --- a/recmenuitem.h +++ b/recmenuitem.h @@ -73,6 +73,12 @@ enum eRecMenuState { //FAVORITES rmsFavoritesRecord, rmsFavoritesRecordConfirm, + rmsFavoritesNow, + rmsFavoritesNext, + rmsFavoritesUser1, + rmsFavoritesUser2, + rmsFavoritesUser3, + rmsFavoritesUser4, }; enum eDependend { @@ -629,4 +635,21 @@ public: eRecMenuState ProcessKey(eKeys Key); }; +// --- cRecMenuItemFavoriteStatic ------------------------------------------------------- +class cRecMenuItemFavoriteStatic : public cRecMenuItem { +private: + std::string text; + cPixmap *pixmapText; + cPixmap *pixmapIcons; + int DrawIcons(void); +public: + cRecMenuItemFavoriteStatic(std::string text, eRecMenuState action, bool active); + virtual ~cRecMenuItemFavoriteStatic(void); + void SetPixmaps(void); + void Hide(void); + void Show(void); + void Draw(void); + eRecMenuState ProcessKey(eKeys Key); +}; + #endif //__TVGUIDE_RECMENUITEM_H
\ No newline at end of file |