From e1a2683837d295bd0f08c4609eab0e11b971594d Mon Sep 17 00:00:00 2001 From: racarr Date: Sun, 28 Jan 2007 19:49:02 +0000 Subject: Update renderText to actually paint and to respect text->attrib->alpha --- src/bdm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bdm.c b/src/bdm.c index 8a71662..46aaa8d 100644 --- a/src/bdm.c +++ b/src/bdm.c @@ -104,6 +104,7 @@ static void renderText (cairo_t * cr, BDMText * text, ScreenArea * area) text->color[2] / 65535.0, text->color[3] / 65535.0); pango_cairo_show_layout (cr, layout); + cairo_paint_with_alpha(cr, text->attrib->alpha); g_object_unref (layout); cairo_restore (cr); -- cgit v1.1