summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-06-13 18:40:59 +0000
committerlordjaxom <lordjaxom>2004-06-13 18:40:59 +0000
commit3d738f9c8a5d48bb22b3330c036b6887b0f9d6c1 (patch)
tree218f9b266dbde63a76caa8548108e1dccec4afc7 /data.c
parentc73c6b62067cef765a85dd2a19dcc7296b813b2c (diff)
downloadvdr-plugin-text2skin-3d738f9c8a5d48bb22b3330c036b6887b0f9d6c1.tar.gz
vdr-plugin-text2skin-3d738f9c8a5d48bb22b3330c036b6887b0f9d6c1.tar.bz2
- added parameter alpha for imagesv0.0.4
- 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
Diffstat (limited to 'data.c')
-rw-r--r--data.c4
1 files changed, 3 insertions, 1 deletions
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);