X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/67143e098c00b0ee414bde39a78441d8e11fed8b..796708eefb056b936274da15c7af2c7d709c9249:/Constructor/workplace.h?ds=inline diff --git a/Constructor/workplace.h b/Constructor/workplace.h index 7054a35..896e908 100644 --- a/Constructor/workplace.h +++ b/Constructor/workplace.h @@ -1,4 +1,3 @@ - #ifndef _H_WORKPLACE_ #define _H_WORKPLACE_ @@ -6,19 +5,22 @@ #include #include #include -#include "item.h" class CItem; +typedef struct { + CItem *logic, *store; +}t_line; + 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_pressed(GdkEventButton *); - void delete_item(int); - - std::list *listaItems; + public: + WorkPlace(BaseObjectType* cobject, const Glib::RefPtr &refGlade); + 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; }; #endif