X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/49850f467dae860e12c7851a2f8a79132f87721e..d4d9e7169ed68ba75024ab23f773fbb168ef2e55:/Constructor/src/workplace.cpp?ds=sidebyside diff --git a/Constructor/src/workplace.cpp b/Constructor/src/workplace.cpp index 1666c8a..548b771 100644 --- a/Constructor/src/workplace.cpp +++ b/Constructor/src/workplace.cpp @@ -23,11 +23,14 @@ bool WorkPlace::on_expose_event(GdkEventExpose *event) get_window()->draw_point (get_style()->get_black_gc(), x-1,y); } - Glib::RefPtr gc = get_style()->get_black_gc(); - Gdk::Color color; - color.set_rgb(255,0,0); - gc->set_rgb_bg_color(color); - get_style()->set_black(color); + if ( *logica ) { + std::list::iterator j = listaItems->begin(); + while ( j != listaItems->end() ) { + (*j)->draw_connectors(); + j++; + } + } + int a, b, w, z; std::list::iterator i = lista_lineas_in.begin(); while ( i != lista_lineas_in.end() ) {