]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/workplace.h
* Se agrega un Tanque al ejemplo, y ANDA!!!!
[z.facultad/75.42/plaqui.git] / Constructor / workplace.h
index 8a26e1da5929dd6bc899a486bfdafc45a1c38ac3..0677da3011a0414e48357d31c98765ee092499b5 100644 (file)
@@ -1,4 +1,3 @@
-
 #ifndef _H_WORKPLACE_
 #define _H_WORKPLACE_
 
 #ifndef _H_WORKPLACE_
 #define _H_WORKPLACE_
 
@@ -6,12 +5,21 @@
 #include <gdkmm/gc.h>
 #include <gtkmm.h>
 #include <libglademm.h>
 #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 {
 
 class WorkPlace:public Gtk::Fixed {
-public:
-       WorkPlace(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml> &refGlade);
-       virtual ~WorkPlace() {}
-       virtual bool on_expose_event(GdkEventExpose *);
+       public:
+               WorkPlace(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml> &refGlade);
+               virtual ~WorkPlace();
+               virtual bool on_expose_event(GdkEventExpose *event);
+               virtual bool on_button_press_event (GdkEventButton *event);
+               void delete_item(int _id);      
+               std::list<CItem *> *listaItems;
+               ActiveZone *viewport;
 };
 
 #endif
 };
 
 #endif