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