X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/43fc1b3f57852f2af098fa7411e83220015aaa6f..a5853e30ca27518a7a3a33e4f97588f7b1e9ffe3:/Client/include/item_pump.h?ds=sidebyside diff --git a/Client/include/item_pump.h b/Client/include/item_pump.h index 8fd4864..674788e 100644 --- a/Client/include/item_pump.h +++ b/Client/include/item_pump.h @@ -8,6 +8,9 @@ class ViewPump:public ViewItem { public: ViewPump(Glib::ustring _name, int orientacion); virtual ~ViewPump(); + virtual std::string get_cap_extra() { return "Estado"; } + virtual std::string get_extra() { return (open)?"Encendida":"Apagada"; } + bool on_image_expose_event(GdkEventExpose *e); }; #endif