From 5071a1754f3db0adcf477ecf8e5b2a818d1935bd Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Wed, 14 Jul 2004 16:49:10 +0000 Subject: - fixed display of scrollbar if there is no text present - 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 --- data.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'data.h') diff --git a/data.h b/data.h index 3e60e05..b71f63b 100644 --- a/data.h +++ b/data.h @@ -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 { -- cgit v1.2.3