diff options
author | lordjaxom <lordjaxom> | 2004-12-12 19:53:30 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2004-12-12 19:53:30 +0000 |
commit | 3b0999969632e2820b846ca8adcef6b346ff7441 (patch) | |
tree | 1582ed7db886839ea06c226e228eade0516f60c2 /display.h | |
parent | e4c359b5c303cecfc49fb82799805da9fee8dadb (diff) | |
download | vdr-plugin-text2skin-1.0-pre3.tar.gz vdr-plugin-text2skin-1.0-pre3.tar.bz2 |
1.0-pre3v1.0-pre3
Diffstat (limited to 'display.h')
-rw-r--r-- | display.h | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -1,5 +1,5 @@ /* - * $Id: display.h,v 1.4 2004/12/08 18:47:37 lordjaxom Exp $ + * $Id: display.h,v 1.5 2004/12/10 21:46:46 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_SKIN_H @@ -34,14 +34,15 @@ public: virtual void SetChannel(const cChannel *Channel, int Number); virtual void SetEvents(const cEvent *Present, const cEvent *Following); virtual void SetMessage(eMessageType Type, const char *Text); + virtual void SetButtons(const char *Red, const char *Green, const char *Yellow, const char *Blue); virtual void Flush(void); }; class cText2SkinDisplayVolume: public cSkinDisplayVolume, public cText2SkinRender { private: - int mCurrent; - int mTotal; - int mMute; + int mCurrent; + int mTotal; + bool mMute; protected: virtual cxType GetTokenData(const txToken &Token); @@ -128,11 +129,13 @@ private: std::string tabs[MaxTabs]; bool sel; + tListItem(const std::string &Text, bool Sel): text(Text), sel(Sel) {} + bool operator!=(const tListItem &b) { return b.text != text || b.sel != sel; } }; std::vector<tListItem> mItems; - int mCurrentItem; + uint mCurrentItem; protected: virtual cxType GetTokenData(const txToken &Token); |