X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/67143e098c00b0ee414bde39a78441d8e11fed8b..2695534342641710721ae3d842915094b384f9db:/Constructor/workplace.h diff --git a/Constructor/workplace.h b/Constructor/workplace.h index 7054a35..67ba45e 100644 --- a/Constructor/workplace.h +++ b/Constructor/workplace.h @@ -8,17 +8,23 @@ #include #include "item.h" +typedef struct { + int x,y,w,z; +}t_line; + class CItem; class WorkPlace:public Gtk::Fixed { -public: - WorkPlace(BaseObjectType* cobject, const Glib::RefPtr &refGlade); - virtual ~WorkPlace() {} - virtual bool on_expose_event(GdkEventExpose *); - virtual bool on_button_pressed(GdkEventButton *); - void delete_item(int); - - std::list *listaItems; + public: + WorkPlace(BaseObjectType* cobject, const Glib::RefPtr &refGlade); + virtual ~WorkPlace() {} + virtual bool on_expose_event(GdkEventExpose *); + virtual bool on_button_press_event(GdkEventButton *event); + virtual bool on_button_release_event(GdkEventButton *event); + void delete_item(int); + std::list *listaItems; + std::list lista_lineas; + t_line temp; }; #endif