]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/include/or.h
-Las compuertas pueden tener n entradas pero solo 1 salida
[z.facultad/75.42/plaqui.git] / Constructor / include / or.h
index c1844f197abe250d69a61ae3731215af45fa7481..d9506231e76a3964e2a9728f484c9d9a08d96162 100644 (file)
@@ -15,8 +15,10 @@ class Or : public CItem {
                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);  
+               virtual void set_out_connected(bool _o);
        private:
                int in_x, in_y, out_x, out_y;
+               bool out_connected;
                std::vector<t_logic_connector> vec_connector;
                Glib::RefPtr<Gdk::Pixbuf> imageN; // 0 
                Glib::RefPtr<Gdk::Pixbuf> imageS; // 1