]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/workplace.h
* Se agrega una exclusa al ejemplo a la salida de la bomba.
[z.facultad/75.42/plaqui.git] / Constructor / workplace.h
index 67ba45ec2fac202e42f50196d16700d612a4300d..6d81e4f0ff9f091af1ca0ff7a55729c83afb35f7 100644 (file)
@@ -1,4 +1,3 @@
-
 #ifndef _H_WORKPLACE_
 #define _H_WORKPLACE_
 
 #ifndef _H_WORKPLACE_
 #define _H_WORKPLACE_
 
@@ -6,6 +5,7 @@
 #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"
 
 typedef struct {
 #include "item.h"
 
 typedef struct {
@@ -17,14 +17,15 @@ class CItem;
 class WorkPlace:public Gtk::Fixed {
        public:
                WorkPlace(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml> &refGlade);
 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 ~WorkPlace();
+               virtual bool on_expose_event(GdkEventExpose *event);
                virtual bool on_button_press_event(GdkEventButton *event);
                virtual bool on_button_release_event(GdkEventButton *event);
                virtual bool on_button_press_event(GdkEventButton *event);
                virtual bool on_button_release_event(GdkEventButton *event);
-               void delete_item(int);  
-               std::list<CItem *> *listaItems;
+               void delete_item(int _id);      
                std::list<t_line> lista_lineas;
                t_line temp;
                std::list<t_line> lista_lineas;
                t_line temp;
+               std::list<CItem *> *listaItems;
+               ActiveZone *viewport;
 };
 
 #endif
 };
 
 #endif