X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/e752c10ce2c082a8654b2abd68b2cf442275cdcd..3a8788fb198a1e0590823745f39fbff81056db09:/Constructor/activezone.h diff --git a/Constructor/activezone.h b/Constructor/activezone.h index 56431bf..b2a2413 100644 --- a/Constructor/activezone.h +++ b/Constructor/activezone.h @@ -1,12 +1,25 @@ +#ifndef _ACTIVEZONE_H_ +#define _ACTIVEZONE_H_ #include #include #include #include +#include "workplace.h" + +typedef struct { + int x,y,w,z; +}t_line; + +class WorkPlace; class ActiveZone:public Gtk::Viewport { public: ActiveZone(BaseObjectType* cobject, const Glib::RefPtr &refGlade); virtual ~ActiveZone(); virtual bool on_button_press_event(GdkEventButton *e); + virtual bool on_button_release_event(GdkEventButton *e); + t_line temp; + std::list lista_lineas; + WorkPlace *workplace; }; - +#endif