X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/57ae549a3b51ba148315ff4e64da089203cc7c02..24ac99bd21e4562a6ae028e0a84d8c09da07058b:/Constructor/include/workplace.h diff --git a/Constructor/include/workplace.h b/Constructor/include/workplace.h index db4b3ce..c4dfc94 100644 --- a/Constructor/include/workplace.h +++ b/Constructor/include/workplace.h @@ -9,7 +9,7 @@ class CItem; typedef struct { - CItem *logic, *store; + int logic_id, store_id; }t_line; class WorkPlace:public Gtk::Fixed { @@ -20,6 +20,7 @@ class WorkPlace:public Gtk::Fixed { void delete_item(int _id); void delete_line(int _id); CItem *get_logic_item(int _id); + CItem *get_item(int _id); void update_logic_position(); std::list *listaItems, *lista_logic_Items; /** Listas de lineas que van de una compuerta a la entrada de un item y de la salida de un item a una compuerta