X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/e752c10ce2c082a8654b2abd68b2cf442275cdcd..d664a4c16bb56138b53e8d6dba92e199bd3ea6c7:/Constructor/workplace.h?ds=inline diff --git a/Constructor/workplace.h b/Constructor/workplace.h index 6d81e4f..2bb0653 100644 --- a/Constructor/workplace.h +++ b/Constructor/workplace.h @@ -5,27 +5,23 @@ #include #include #include -#include "activezone.h" -#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 *event); - virtual bool on_button_press_event(GdkEventButton *event); - virtual bool on_button_release_event(GdkEventButton *event); - void delete_item(int _id); + void delete_item(int _id); + void delete_line(int _id); + CItem *get_logic_item(int _id); + std::list *listaItems, *lista_logic_Items; std::list lista_lineas; - t_line temp; - std::list *listaItems; - ActiveZone *viewport; }; #endif