X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/ee2cb3d6c26ae319d20bde28f415393e96611ece..fc802b7aea75e90b19cd22d3e5e752620a416af8:/Constructor/src/item.cpp?ds=sidebyside diff --git a/Constructor/src/item.cpp b/Constructor/src/item.cpp index 4c25467..b4bf541 100644 --- a/Constructor/src/item.cpp +++ b/Constructor/src/item.cpp @@ -1,7 +1,7 @@ #include "item.h" bool CItem::logic_connect = false; -int CItem::quien = -1; +int CItem::gate_id = -1; CItem::CItem(const char *filename):Gtk::DrawingArea() @@ -157,8 +157,18 @@ void CItem::set_default_connector() { } -void CItem::get_logic_connect_position(int& _a, int& _b) +void CItem::get_in_logic_connect_position(int& _a, int& _b) { _a = x; _b = y; } + +void CItem::get_out_logic_connect_position(int& _a, int& _b) +{ + _a = x; + _b = y; +} + +void CItem::update_logic_position() +{ +}