X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/5042b6492969385725852d3cf90959abb52a7398..24ac99bd21e4562a6ae028e0a84d8c09da07058b:/Constructor/include/workplace.h diff --git a/Constructor/include/workplace.h b/Constructor/include/workplace.h index 415368b..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,9 +20,12 @@ 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 un item y de un item a una compuerta + /** Listas de lineas que van de una compuerta a la entrada de un item y de la salida de un item a una compuerta + lista_lineas_in = compuerta --> (entrada) item + lista_lineas_out= compuerta --> (salida) item */ std::list lista_lineas_in, lista_lineas_out; static int pointed;