diff options
author | lordjaxom <lordjaxom> | 2004-12-28 01:24:35 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2004-12-28 01:24:35 +0000 |
commit | d5de012d18ffe859b70e703fec6170b1021e4249 (patch) | |
tree | 0fd60f69e1e432ca891828a5ce42df6a47634c22 /marquee.h | |
parent | b0a767292621b6c79a8bd021bbe2915a64e5b30c (diff) | |
download | vdr-plugin-text2skin-d5de012d18ffe859b70e703fec6170b1021e4249.tar.gz vdr-plugin-text2skin-d5de012d18ffe859b70e703fec6170b1021e4249.tar.bz2 |
- moved marquee into renderer
- introduced object state cache
- introduced blink element
- introduced delay attribute to objects
Diffstat (limited to 'marquee.h')
-rw-r--r-- | marquee.h | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -1,5 +1,5 @@ /* - * $Id: marquee.h,v 1.2 2004/12/21 20:26:25 lordjaxom Exp $ + * $Id: marquee.h,v 1.3 2004/12/28 01:24:35 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_MARQUEE_H @@ -13,6 +13,7 @@ class cText2SkinScreen; class cText2SkinMarquee { private: + /* cText2SkinScreen *mScreen; const cFont *mFont; int mLeft; @@ -33,14 +34,14 @@ public: cText2SkinMarquee(const cText2SkinMarquee &Src); cText2SkinMarquee(cText2SkinScreen *Screen, int Left, int Top, int Width, int Height, const std::string &Text, const cFont *Font, tColor ColorFg, tColor ColorBg, - uint &UpdateIn); - - void Set(cText2SkinScreen *Screen, int Left, int Top, int Width, int Height, - const std::string &Text, const cFont *Font, tColor ColorFg, tColor ColorBg, - uint &UpdateIn); - void DrawText(uint &UpdateIn); + uint &UpdateIn);*/ +public: + static void DrawText(cText2SkinScreen *Screen, int Left, int Top, int Width, int Height, + const std::string &Text, const cFont *Font, tColor ColorFg, tColor ColorBg, + uint Delay, int &Offset, int &Direction, uint &NextTime); + //static void DrawText(uint &UpdateIn); - const std::string &Text(void) const { return mText; } + //const std::string &Text(void) const { return mText; } }; #endif // VDR_TEXT2SKIN_MARQUEE_H |