X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/2695534342641710721ae3d842915094b384f9db..e90831f68ec3af87bddba19b44be388eb2b3752e:/Constructor/workplace.h?ds=sidebyside diff --git a/Constructor/workplace.h b/Constructor/workplace.h index 67ba45e..896e908 100644 --- a/Constructor/workplace.h +++ b/Constructor/workplace.h @@ -1,4 +1,3 @@ - #ifndef _H_WORKPLACE_ #define _H_WORKPLACE_ @@ -6,25 +5,22 @@ #include #include #include -#include "item.h" + +class CItem; typedef struct { - int x,y,w,z; + CItem *logic, *store; }t_line; -class CItem; - class WorkPlace:public Gtk::Fixed { public: WorkPlace(BaseObjectType* cobject, const Glib::RefPtr &refGlade); - virtual ~WorkPlace() {} - virtual bool on_expose_event(GdkEventExpose *); - virtual bool on_button_press_event(GdkEventButton *event); - virtual bool on_button_release_event(GdkEventButton *event); - void delete_item(int); - std::list *listaItems; + virtual ~WorkPlace(); + virtual bool on_expose_event(GdkEventExpose *event); + void delete_item(int _id); + CItem *get_logic_item(int _id); + std::list *listaItems, *lista_logic_Items; std::list lista_lineas; - t_line temp; }; #endif