X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/43fc1b3f57852f2af098fa7411e83220015aaa6f..1b87fa6ed8ca9afedd5c2cba46c9256e68d008ae:/Client/include/item_pump.h 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