+
+void CItem::get_in_logic_connect_position(int& _a, int& _b)
+{
+ _a = x;
+ _b = y;
+}
+
+void CItem::get_out_logic_connect_position(int& _a, int& _b)
+{
+ _a = x;
+ _b = y;
+}
+
+bool CItem::get_out_logic_connect()
+{
+ return false;
+}
+
+void CItem::update_logic_position()
+{
+}
+
+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();
+ }
+}