X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/43fc1b3f57852f2af098fa7411e83220015aaa6f..f93e91dd83b4237c26efc0116f1cbf0ef361a080:/Client/include/item_tank.h?ds=inline diff --git a/Client/include/item_tank.h b/Client/include/item_tank.h index ae4a2fd..2cf4ac6 100644 --- a/Client/include/item_tank.h +++ b/Client/include/item_tank.h @@ -8,6 +8,20 @@ class ViewTank:public ViewItem { public: ViewTank(Glib::ustring _name, int orientacion); virtual ~ViewTank(); + + virtual std::string get_cap_flow() { return "Capacidad :"; } + virtual std::string get_cap_extra() { return "Liquido :"; } + virtual std::string get_extra(); + bool on_image_expose_event(GdkEventExpose *e); + + void set_out_sup(bool b) { out_sup = b; } + bool get_out_sup() { return out_sup; } + void set_out_inf(bool b) { out_inf = b; } + bool get_out_inf() { return out_inf; } + +protected: + /* Salida logica superior e inferior respectivamente */ + bool out_sup, out_inf; }; #endif