X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/ee2cb3d6c26ae319d20bde28f415393e96611ece..68e6923fe644c24ab285dc79134682cff1276b9f:/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() +{ +}