X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/43aa212b9816129a8a2b08a8848bca407ef0129f..f29a7129de56edca96ea8ef58576898c1e52ed6f:/Constructor/workplace.h?ds=sidebyside diff --git a/Constructor/workplace.h b/Constructor/workplace.h index 005eb8d..0677da3 100644 --- a/Constructor/workplace.h +++ b/Constructor/workplace.h @@ -5,25 +5,21 @@ #include #include #include +#include "activezone.h" #include "item.h" -typedef struct { - int x,y,w,z; -}t_line; - 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 *event); - virtual bool on_button_press_event(GdkEventButton *event); - virtual bool on_button_release_event(GdkEventButton *event); + virtual bool on_button_press_event (GdkEventButton *event); void delete_item(int _id); - std::list lista_lineas; - t_line temp; std::list *listaItems; + ActiveZone *viewport; }; #endif