+
+void CItem::draw_connectors()
+{
+ if ( in_x != -1 ) {
+ Glib::RefPtr<Gdk::Window> window = get_window();
+
+ gc->set_foreground(red);
+ gc->set_background(red);
+ window->draw_rectangle(gc, 1, in_x-5-x, in_y-y, 10, 10);
+ gc->set_foreground(blue);
+ gc->set_background(blue);
+ window->draw_rectangle(gc, 1, out_x-5-x, out_y-y-10, 10, 10);
+ queue_draw();
+ }
+}