diff --git a/program b/program index efb85db..e645e0c 100755 Binary files a/program and b/program differ diff --git a/program.cpp b/program.cpp index 50a5ae8..b68ddef 100644 --- a/program.cpp +++ b/program.cpp @@ -64,6 +64,7 @@ static void do_drawing(cairo_t *); static void draw_pixel(cairo_t *cr, int x, int y, int size) { + //set to white cairo_set_source_rgb(cr, 1, 1, 1); @@ -102,6 +103,7 @@ static gboolean on_draw_event(GtkWidget *widget, cairo_t *cr, gpointer user_data static void do_drawing(cairo_t *cr) { + cairo_set_source_rgb(cr, 0, 0, 0); cairo_paint(cr); @@ -138,5 +140,7 @@ int main(int argc, char *argv[]) gtk_main(); + + return 0; }