X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/5b8bbc5a3c2db31a69a637f0e35e8435ad4d8ff3..796708eefb056b936274da15c7af2c7d709c9249:/Constructor/item.cpp diff --git a/Constructor/item.cpp b/Constructor/item.cpp index cd53614..77eefda 100644 --- a/Constructor/item.cpp +++ b/Constructor/item.cpp @@ -1,5 +1,8 @@ #include "item.h" -#include "workplace.h" + +bool CItem:: logic_connect = false; +int CItem::quien = -1; + CItem::CItem(const char *filename):Gtk::DrawingArea() { @@ -15,6 +18,7 @@ CItem::CItem() caudal_max = 0.0; is_union = true; is_connected = false; + is_logic =false; property_wnd->item = this; menu_image_propiedades.set(Gtk::Stock::PREFERENCES, Gtk::ICON_SIZE_MENU); menu_image_delete.set(Gtk::Stock::CANCEL, Gtk::ICON_SIZE_MENU);