]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/workplace.h
Se agrega sobrecarga de add_arg(unsigned) a pedido de ricky :)
[z.facultad/75.42/plaqui.git] / Constructor / workplace.h
index 005eb8d35c37f33643fb2b1eeb4be69bc75ba14a..c3e290135690ea438ef3c167d1dec9a6b74c5be0 100644 (file)
@@ -5,25 +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"
 
 #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);
                void delete_item(int _id);      
                void delete_item(int _id);      
-               std::list<t_line> lista_lineas;
-               t_line temp;
                std::list<CItem *> *listaItems;
                std::list<CItem *> *listaItems;
+               std::list<t_line> lista_lineas;
+               ActiveZone *viewport;
 };
 
 #endif
 };
 
 #endif