X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/a4fcf877753b034b1df7fa73d41388849fbc9000..0521515ee87033f2bcdce2cffcafbecc960a71a6:/Constructor/src/union.cpp diff --git a/Constructor/src/union.cpp b/Constructor/src/union.cpp index dfbaa88..ca61727 100644 --- a/Constructor/src/union.cpp +++ b/Constructor/src/union.cpp @@ -50,6 +50,12 @@ bool Union::on_button_press_event(GdkEventButton *event) combo_entry->get_entry()->set_text (name); workplace->queue_draw(); WorkPlace::pointed = ID; + char f[10]; + Glib::ustring text; + sprintf(f,"%.1f",caudal_max); + text = name+" Caudal Maximo: "; + text += f; + status_bar->push ( text, 0); } if ((event->type == GDK_BUTTON_PRESS) && (event->button == 2 )){