]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - tests/GUI/workplace.cc
-Se conectan como trompada!!!!!
[z.facultad/75.42/plaqui.git] / tests / GUI / workplace.cc
index 4c11f6c5a862f4c681979c6c7b2cd561019fe342..b046a680f6846ac23a4c946a94a9e4c26290b2a5 100644 (file)
@@ -12,6 +12,9 @@ bool WorkPlace::on_expose_event(GdkEventExpose *e)
        for(i=0; i<get_width(); i+=32) {
                get_window()->draw_line(get_style()->get_black_gc(), i, 0, i, get_height());
        }
        for(i=0; i<get_width(); i+=32) {
                get_window()->draw_line(get_style()->get_black_gc(), i, 0, i, get_height());
        }
+       for(i=0; i<get_height(); i+=32) {
+               get_window()->draw_line(get_style()->get_black_gc(), 0, i, get_width(), i);
+       }
 
        return true;
 }
 
        return true;
 }