X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/c90e905d76aed75379d220478e97fda0d34ec59b..d4d9e7169ed68ba75024ab23f773fbb168ef2e55:/Constructor/src/workplace.cpp 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() ) {