X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/fe35ed0badc6a1a01237027effb74b82acbdb9e5..663eccb7e27110aba6c79648c38254a7a5737bca:/Constructor/src/pump.cpp?ds=inline diff --git a/Constructor/src/pump.cpp b/Constructor/src/pump.cpp index 46bac68..897ca50 100644 --- a/Constructor/src/pump.cpp +++ b/Constructor/src/pump.cpp @@ -61,6 +61,12 @@ bool Pump::on_button_press_event(GdkEventButton *event) } CItem::gate_id = -1; } + char f[10]; + Glib::ustring text; + sprintf(f,"%.1f",entrega); + text = name+" Entrega: "; + text += f; + status_bar->push ( text, 0); } if ((event->type == GDK_BUTTON_PRESS) && ( event->button ==2)){