]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/activezone.h
-ahi borre lo que se me escapo
[z.facultad/75.42/plaqui.git] / Constructor / activezone.h
index 56431bf6fc31daa17320122068706f8dba6917cf..b2a2413a6774618d2f71a5dc4e05af902a388776 100644 (file)
@@ -1,12 +1,25 @@
+#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