summaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorlordjaxom <lordjaxom>2004-12-28 01:29:35 +0000
committerlordjaxom <lordjaxom>2004-12-28 01:29:35 +0000
commit7eba7bfaa35f8d377c26fd22f7d4a7ccc2a70c1b (patch)
treef7ed402c45d75154709238cc12230c2a1984d5e1 /render.c
parentd5de012d18ffe859b70e703fec6170b1021e4249 (diff)
downloadvdr-plugin-text2skin-7eba7bfaa35f8d377c26fd22f7d4a7ccc2a70c1b.tar.gz
vdr-plugin-text2skin-7eba7bfaa35f8d377c26fd22f7d4a7ccc2a70c1b.tar.bz2
- fixed missing text alignment for marquee and blink
Diffstat (limited to 'render.c')
-rw-r--r--render.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/render.c b/render.c
index 3a43b94..cac24e7 100644
--- a/render.c
+++ b/render.c
@@ -1,5 +1,5 @@
/*
- * $Id: render.c,v 1.4 2004/12/28 01:24:35 lordjaxom Exp $
+ * $Id: render.c,v 1.5 2004/12/28 01:29:35 lordjaxom Exp $
*/
#include "render.h"
@@ -331,7 +331,7 @@ void cText2SkinRender::DrawMarquee(const txPoint &Pos, const txSize &Size, const
}
mScreen->DrawText(Pos.x, Pos.y, Text.c_str() + state.offset, Fg ? *Fg : 0, clrTransparent, Font,
- Size.w, Size.h);
+ Size.w, Size.h, Align);
}
void cText2SkinRender::DrawBlink(const txPoint &Pos, const txSize &Size, const tColor *Fg,
@@ -357,7 +357,7 @@ void cText2SkinRender::DrawBlink(const txPoint &Pos, const txSize &Size, const t
mScreen->DrawText(Pos.x, Pos.y, Text.c_str(), state.offset == 0
? (Fg ? *Fg : 0)
: (Bg ? *Bg : 0),
- clrTransparent, Font, Size.w, Size.h);
+ clrTransparent, Font, Size.w, Size.h, Align);
}
void cText2SkinRender::DrawRectangle(const txPoint &Pos, const txSize &Size, const tColor *Fg)