X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/67143e098c00b0ee414bde39a78441d8e11fed8b..d3ea2ff01c51df0df95cd23157267048e2c2fdcd:/Constructor/item.h?ds=sidebyside diff --git a/Constructor/item.h b/Constructor/item.h index 1e188c1..87aaaed 100644 --- a/Constructor/item.h +++ b/Constructor/item.h @@ -12,7 +12,7 @@ #include "workplace.h" class WorkPlace; - + class CItem:public Gtk::DrawingArea { public: CItem(); @@ -24,13 +24,12 @@ public: virtual void on_menu_popup_eliminar(); virtual void on_menu_popup_conectar(); Glib::RefPtr get_image() { return image; } - void set_position(int, int); + void set_position(int _x, int _y); int get_position_x(); int get_position_y(); - bool is_occupied_area(int, int); - void set_id(int); + bool is_occupied_area(int _a, int _b); + void set_id(int _id); int get_id(); - // habria que ocultarla.......................................... WorkPlace *workplace; protected: int ID;