From 7eba7bfaa35f8d377c26fd22f7d4a7ccc2a70c1b Mon Sep 17 00:00:00 2001 From: lordjaxom Date: Tue, 28 Dec 2004 01:29:35 +0000 Subject: - fixed missing text alignment for marquee and blink --- render.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'render.c') 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) -- cgit v1.2.3