]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Constructor/src/or.cpp
Se actualiza documentacion:
[z.facultad/75.42/plaqui.git] / Constructor / src / or.cpp
index 2c17f7aaeb81909938e32a908fb189a7d0dfdb47..ae6cf2c90ffa1bc139cdd6c4ac8851e67168fdf2 100644 (file)
@@ -43,7 +43,6 @@ Or::Or(int orientacion)
        }
        set_size_request(image->get_width(), image->get_height());
        name = "or";
        }
        set_size_request(image->get_width(), image->get_height());
        name = "or";
-       menulist.push_back( Gtk::Menu_Helpers::ImageMenuElem("Conectar", menu_image_linea,SigC::slot(*this, &CItem::on_menu_popup_conectar) ) ) ;
 }
 
 Or::~Or()
 }
 
 Or::~Or()
@@ -154,12 +153,12 @@ void Or::save(FILE *archivo)
        for ( int i=0; i<=vec_connector.size()-1&&!vec_connector.empty(); i++) {
                if ( vec_connector[i].type == IN ) {
                        if ( vec_connector[i].cistern_connector == 1 ) {
        for ( int i=0; i<=vec_connector.size()-1&&!vec_connector.empty(); i++) {
                if ( vec_connector[i].type == IN ) {
                        if ( vec_connector[i].cistern_connector == 1 ) {
-                               dato += "\t\t<entrada><tanque id = \"superior\">";
-                               dato += vec_connector[i].name_dest + "</tanque></entrada>\n";
+                               dato += "\t\t<entrada id = \"superior\">";
+                               dato += vec_connector[i].name_dest + "</entrada>\n";
                        }
                        if ( vec_connector[i].cistern_connector == 0 ) {
                        }
                        if ( vec_connector[i].cistern_connector == 0 ) {
-                               dato += "\t\t<entrada><tanque id = \"inferior\">";
-                               dato += vec_connector[i].name_dest + "</tanque></entrada>\n";
+                               dato += "\t\t<entrada id = \"inferior\">";
+                               dato += vec_connector[i].name_dest + "</entrada>\n";
                        }
                        if ( vec_connector[i].cistern_connector == -1 ) {
                                dato += "\t\t<entrada>";
                        }
                        if ( vec_connector[i].cistern_connector == -1 ) {
                                dato += "\t\t<entrada>";