]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/workplace.h
Luca, si podes lleva esto, no creo que termine nada mas hoy
[z.facultad/75.42/plaqui.git] / Constructor / workplace.h
index 7054a354e43afdbc6c6bf1afa658ce5ed8aa3d28..c3e290135690ea438ef3c167d1dec9a6b74c5be0 100644 (file)
@@ -1,4 +1,3 @@
-
 #ifndef _H_WORKPLACE_
 #define _H_WORKPLACE_
 
@@ -6,19 +5,21 @@
 #include <gdkmm/gc.h>
 #include <gtkmm.h>
 #include <libglademm.h>
+#include "activezone.h"
 #include "item.h"
 
 class CItem;
+class ActiveZone;
 
 class WorkPlace:public Gtk::Fixed {
-public:
-       WorkPlace(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml> &refGlade);
-       virtual ~WorkPlace() {}
-       virtual bool on_expose_event(GdkEventExpose *);
-       virtual bool on_button_pressed(GdkEventButton *);
-       void delete_item(int);  
-               
-       std::list<CItem *> *listaItems;
+       public:
+               WorkPlace(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml> &refGlade);
+               virtual ~WorkPlace();
+               virtual bool on_expose_event(GdkEventExpose *event);
+               void delete_item(int _id);      
+               std::list<CItem *> *listaItems;
+               std::list<t_line> lista_lineas;
+               ActiveZone *viewport;
 };
 
 #endif