diff options
author | lordjaxom <lordjaxom> | 2004-06-07 19:09:34 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2004-06-07 19:09:34 +0000 |
commit | e0de96fc7168daeaf414fb6196e08969468427d2 (patch) | |
tree | de7f2dfb83796a7c77e5600a23b8b6b26f284796 /data.h | |
parent | 6094765d94e4caaf0813039dff826b731f277753 (diff) | |
download | vdr-plugin-text2skin-e0de96fc7168daeaf414fb6196e08969468427d2.tar.gz vdr-plugin-text2skin-e0de96fc7168daeaf414fb6196e08969468427d2.tar.bz2 |
- fixed Timebar which sometimes displayed something beyond 100%v0.0.2
- fixed scrolling in EPG detail display
- added "MenuEventEndTime", "MenuEventVPSTime" and "MenuEventDate"
- added "DateTimeF" and "MenuEventDateTimeF" for free formattable dates
- added parameter format that holds the format string for the above items
- implemented setup menu to flush image cache
Diffstat (limited to 'data.h')
-rw-r--r-- | data.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* - * $Id: data.h,v 1.11 2004/06/05 01:39:36 lordjaxom Exp $ + * $Id: data.h,v 1.14 2004/06/07 19:08:42 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_DATA_H @@ -91,6 +91,11 @@ enum eSkinItem { itemSymbolEventTimer, itemSymbolEventVPS, itemMenuRecording, + itemMenuEventEndTime, + itemMenuEventVPSTime, + itemMenuEventDate, + itemMenuEventDateTimeF, + itemDateTimeF, __ITEM_COUNT__ }; @@ -120,6 +125,7 @@ private: string mAltPath; string mText; string mType; + string mFormat; eTextAlignment mAlign; protected: @@ -145,6 +151,7 @@ public: const string &AltPath(void) const { return mAltPath; } const string &Text(void) const { return mText; } const string &Type(void) const { return mType; } + const string &Format(void) const { return mFormat; } eTextAlignment Align(void) const { return mAlign; } }; @@ -153,6 +160,9 @@ public: typedef vector<cText2SkinItem*> tSection; typedef tSection::iterator tIterator; + static const string SectionNames[__SECTION_COUNT__]; + static const string ItemNames[__ITEM_COUNT__]; + private: eSkinSection mCurrentSection; tSection mSections[__SECTION_COUNT__]; |