]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/include/or.h
Se agrega docs de instalaciĆ³n.
[z.facultad/75.42/plaqui.git] / Constructor / include / or.h
index 9da1cd2a0f429bfe34f17f8b74ddac626f2a6be9..c1844f197abe250d69a61ae3731215af45fa7481 100644 (file)
@@ -11,7 +11,13 @@ class Or : 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<t_logic_connector> vec_connector;
                Glib::RefPtr<Gdk::Pixbuf> imageN; // 0 
                Glib::RefPtr<Gdk::Pixbuf> imageS; // 1
                Glib::RefPtr<Gdk::Pixbuf> imageE; // 2