+#ifndef _ACTIVEZONE_H_
+#define _ACTIVEZONE_H_
#include <libglademm.h>
#include <gtkmm.h>
#include <gtkmm/viewport.h>
#include <iostream>
+#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<Gnome::Glade::Xml> &refGlade);
virtual ~ActiveZone();
virtual bool on_button_press_event(GdkEventButton *e);
+ virtual bool on_button_release_event(GdkEventButton *e);
+ t_line temp;
+ std::list<t_line> lista_lineas;
+ WorkPlace *workplace;
};
-
+#endif