From 3d738f9c8a5d48bb22b3330c036b6887b0f9d6c1 Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Sun, 13 Jun 2004 18:40:59 +0000 Subject: - added parameter alpha for images - added ReplayMode as Logo to display a replaylogo (normal, vcd, mp3, dvd, ...) - added some german and finnish (thx to Rolf Ahrenberg) translations - fixed VPSTime which was displayed although is was equal to the StartTime - fixed MenuItems which displayed non-Text items periodically - fixed calculation of the editable width in the main menu - fixed animation delay (specified in 1/100th, used 1/1000th) - flushing cache when entering a new display (now the cache basically holds all items necessary in one display) - removed "flush image cache" from setup menu - added "max. cache size" to setup menu --- data.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'data.c') diff --git a/data.c b/data.c index fa127d9..8e44dae 100644 --- a/data.c +++ b/data.c @@ -1,5 +1,5 @@ /* - * $Id: data.c,v 1.17 2004/06/11 15:01:58 lordjaxom Exp $ + * $Id: data.c,v 1.18 2004/06/12 18:00:05 lordjaxom Exp $ */ #include "data.h" @@ -14,6 +14,7 @@ cText2SkinItem::cText2SkinItem(void) { mSize.h = 0; mBpp = 4; mArc = 0; + mAlpha = 0; mFont = cFont::GetFont(fontOsd); mAlign = taDefault; } @@ -53,6 +54,7 @@ bool cText2SkinItem::ParseItem(const char *Text) { ParseVar(Text, "height", &mSize.h); ParseVar(Text, "bpp", &mBpp); ParseVar(Text, "arc", &mArc); + ParseVar(Text, "alpha", &mAlpha); ParseVar(Text, "fg", mFg); ParseVar(Text, "bg", mBg); ParseVar(Text, "font", &mFont); -- cgit v1.2.3