X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/e5f9e15b59fc1ade287321c796ec7c4b9aa27600..3a8788fb198a1e0590823745f39fbff81056db09:/Constructor/workplace.h diff --git a/Constructor/workplace.h b/Constructor/workplace.h index 8a26e1d..0677da3 100644 --- a/Constructor/workplace.h +++ b/Constructor/workplace.h @@ -1,4 +1,3 @@ - #ifndef _H_WORKPLACE_ #define _H_WORKPLACE_ @@ -6,12 +5,21 @@ #include #include #include +#include "activezone.h" +#include "item.h" + +class CItem; +class ActiveZone; class WorkPlace:public Gtk::Fixed { -public: - WorkPlace(BaseObjectType* cobject, const Glib::RefPtr &refGlade); - virtual ~WorkPlace() {} - virtual bool on_expose_event(GdkEventExpose *); + 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); + void delete_item(int _id); + std::list *listaItems; + ActiveZone *viewport; }; #endif