Black background in frame view
authordanigm <dani@danigm.net>
Tue, 11 May 2010 20:30:53 +0000 (22:30 +0200)
committerdanigm <dani@danigm.net>
Tue, 11 May 2010 20:30:53 +0000 (22:30 +0200)
src/ui-drawing.c

index 342469a..321c686 100644 (file)
@@ -59,7 +59,10 @@ tbo_drawing_draw (cairo_t *cr, TboWindow *tbo)
     w = tbo->comic->width;
     h = tbo->comic->height;
     // white background
-    cairo_set_source_rgb(cr, 1, 1, 1);
+    if (get_frame_view ())
+        cairo_set_source_rgb(cr, 0, 0, 0);
+    else
+        cairo_set_source_rgb(cr, 1, 1, 1);
     cairo_rectangle(cr, 0, 0, w*ZOOM, h*ZOOM);
     cairo_fill(cr);