X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/a4fcf877753b034b1df7fa73d41388849fbc9000..8c6ff4ec334bdde66833cda6ea1eee4c0b187650:/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 )){