X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/667418327423ba116d24751926a95a2f1235849c..49850f467dae860e12c7851a2f8a79132f87721e:/Constructor/include/and.h?ds=sidebyside diff --git a/Constructor/include/and.h b/Constructor/include/and.h index 4ab0f17..b872eca 100644 --- a/Constructor/include/and.h +++ b/Constructor/include/and.h @@ -11,7 +11,13 @@ class And : public CItem { virtual void on_menu_popup_rotar(); virtual void save(FILE *archivo); virtual bool check_connection(); + virtual ConnectorType detect_click_position(int _a, int _b); + virtual void update_logic_position(); + virtual void get_in_logic_connect_position(int& _a, int& _b); + virtual void get_out_logic_connect_position(int& _a, int& _b); private: + int in_x, in_y, out_x, out_y; + std::vector vec_connector; Glib::RefPtr imageN; // 0 Glib::RefPtr imageS; // 1 Glib::RefPtr imageE; // 2