X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/ee2cb3d6c26ae319d20bde28f415393e96611ece..24ac99bd21e4562a6ae028e0a84d8c09da07058b:/Constructor/include/workplace.h diff --git a/Constructor/include/workplace.h b/Constructor/include/workplace.h index 9f96eb5..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,8 +20,14 @@ 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; - std::list lista_lineas; + /** 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; };