]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/src/workplace.cpp
Se arregla el cliente para que compile de nuevo (NOT TESTED!)
[z.facultad/75.42/plaqui.git] / Constructor / src / workplace.cpp
index fd9b898375724df18178b01a854b711233024bdf..94e3934f7b48da4640544bbdbcb999c29ad1799e 100644 (file)
@@ -26,6 +26,7 @@ bool WorkPlace::on_expose_event(GdkEventExpose *event)
        if ( *logica ) {        
                std::list<CItem *>::iterator j = listaItems->begin();
                while ( j != listaItems->end() ) {
+                       (*j)->update_logic_position();
                        (*j)->draw_connectors();
                        j++;
                }
@@ -167,4 +168,3 @@ void WorkPlace::draw_line(int x1, int y1, int x2, int y2)
        get_window()->draw_line (get_style()->get_black_gc(), x1, y1, x1, y2);
        get_window()->draw_line (get_style()->get_black_gc(), x1, y2, x2, y2);
 }
-