+}
+
+void CItem::on_menu_popup_rotar()
+{
+}
+
+void CItem::on_menu_popup_eliminar()
+{
+ workplace->delete_item(ID);
+}
+
+void CItem::on_menu_popup_conectar()
+{
+}
+
+void CItem::set_position(int x, int y)
+{
+ this->x = x;
+ this->y = y;
+}
+
+int CItem::get_position_x()
+{
+ return x;
+}
+
+int CItem::get_position_y()
+{
+ return y;
+}
+
+bool CItem::is_occupied_area(int a, int b)
+{
+ if ( (a >= x ) && ( a < x+image->get_width()) && (b >= y) && (b < y+image->get_height()) )
+ return true;
+ else return false;
+}
+
+void CItem::set_id(int id)
+{
+ ID = id;
+}
+
+int CItem::get_id()
+{
+ return ID;