diff options
author | lordjaxom <lordjaxom> | 2004-07-14 16:49:10 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2004-07-14 16:49:10 +0000 |
commit | 5071a1754f3db0adcf477ecf8e5b2a818d1935bd (patch) | |
tree | 210c39c7871d0192ec5aad51096ea39fa47ccd9e /data.h | |
parent | f2a4ea2dc8c0d915e0f2af6f4ec1a228e1e94453 (diff) | |
download | vdr-plugin-text2skin-5071a1754f3db0adcf477ecf8e5b2a818d1935bd.tar.gz vdr-plugin-text2skin-5071a1754f3db0adcf477ecf8e5b2a818d1935bd.tar.bz2 |
- fixed display of scrollbar if there is no text presentv0.0.8
- fixed animation delay if update takes longer than the delay
- using backgrounds also in 8-bit fullscreen mode to improve performance
- implemented screen layer to improve performance
- corrected offsets and tab widths in main menu
- implemented parameters "current", "mark" and "selected" to choose mark colors
in replay display (defaults to the old values)
- implemented color value "None" to be able to unset a color
Diffstat (limited to 'data.h')
-rw-r--r-- | data.h | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* - * $Id: data.h,v 1.17 2004/06/22 16:48:03 lordjaxom Exp $ + * $Id: data.h,v 1.18 2004/07/13 13:52:51 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_DATA_H @@ -22,6 +22,9 @@ private: int mAlpha; string mFg; string mBg; + string mSelected; + string mMark; + string mCurrent; const cFont *mFont; string mName; string mVersion; @@ -55,8 +58,6 @@ public: int Bpp(void) const { return mBpp; } int Arc(void) const { return mArc; } int Alpha(void) const { return mAlpha; } - const string &Fg(void) const { return mFg; } - const string &Bg(void) const { return mBg; } const cFont *Font(void) const { return mFont; } const string &Name(void) const { return mName; } const string &Version(void) const { return mVersion; } @@ -70,6 +71,11 @@ public: // auto-conversion const POINT Pos(void) const; const SIZE Size(void) const; + const tColor *Fg(void) const; + const tColor *Bg(void) const; + const tColor *Selected(void)const; + const tColor *Mark(void) const; + const tColor *Current(void) const; }; class cText2SkinData: public cText2SkinFile { |