// Clear the image
gdk_draw_rectangle (drawing->pixmap,
- widget->style->white_gc,
+ widget->style->black_gc,
TRUE,
0, 0,
widget->allocation.width+SAFETY,
/* Copy old data to new pixmap */
gdk_draw_drawable (pixmap,
- widget->style->white_gc,
+ widget->style->black_gc,
drawing->pixmap,
0, 0,
0, 0,
// Clear the bottom part of the image (SAFETY)
gdk_draw_rectangle (pixmap,
- widget->style->white_gc,
+ widget->style->black_gc,
TRUE,
0, drawing->height+SAFETY,
drawing->width+SAFETY, // do not overlap
// Clear the right part of the image (SAFETY)
gdk_draw_rectangle (pixmap,
- widget->style->white_gc,
+ widget->style->black_gc,
TRUE,
drawing->width+SAFETY, 0,
(widget->allocation.width) - drawing->width, // do not overlap
/* Clear the backgound for data request, but not SAFETY */
gdk_draw_rectangle (pixmap,
- drawing->drawing_area->style->white_gc,
+ drawing->drawing_area->style->black_gc,
TRUE,
drawing->width + SAFETY, 0,
widget->allocation.width - drawing->width, // do not overlap
/* add an empty square */
gdk_draw_rectangle (pixmap,
- drawing->drawing_area->style->white_gc,
+ drawing->drawing_area->style->black_gc,
TRUE,
0, y,
drawing->width + SAFETY, // do not overlap