]> 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 6d81e4f0ff9f091af1ca0ff7a55729c83afb35f7..0677da3011a0414e48357d31c98765ee092499b5 100644 (file)
@@ -8,22 +8,16 @@
 #include "activezone.h"
 #include "item.h"
 
 #include "activezone.h"
 #include "item.h"
 
-typedef struct {
-       int x,y,w,z;
-}t_line;
-
 class CItem;
 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 *event);
 
 class WorkPlace:public Gtk::Fixed {
        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);
-               virtual bool on_button_release_event(GdkEventButton *event);
+               virtual bool on_button_press_event (GdkEventButton *event);
                void delete_item(int _id);      
                void delete_item(int _id);      
-               std::list<t_line> lista_lineas;
-               t_line temp;
                std::list<CItem *> *listaItems;
                ActiveZone *viewport;
 };
                std::list<CItem *> *listaItems;
                ActiveZone *viewport;
 };