diff options
author | lordjaxom <lordjaxom> | 2004-12-28 01:29:35 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2004-12-28 01:29:35 +0000 |
commit | 7eba7bfaa35f8d377c26fd22f7d4a7ccc2a70c1b (patch) | |
tree | f7ed402c45d75154709238cc12230c2a1984d5e1 /render.c | |
parent | d5de012d18ffe859b70e703fec6170b1021e4249 (diff) | |
download | vdr-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |