X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/ee2cb3d6c26ae319d20bde28f415393e96611ece..212f9ae5dc8899bab8b23ed13d81c28c510db3c3:/Constructor/src/item.cpp?ds=inline 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() +{ +}