X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/7f099f6374e9606735fb9766b51b5e86d83de815..4675818d2893c57a409498cd39dba6f9c18b6fe9:/Constructor/pump.h?ds=sidebyside diff --git a/Constructor/pump.h b/Constructor/pump.h index 6c47b1a..cdf8bba 100644 --- a/Constructor/pump.h +++ b/Constructor/pump.h @@ -14,14 +14,19 @@ class Pump : public CItem { virtual void on_menu_popup_rotar(); virtual void on_menu_popup_propiedades(); void set_entrega(double _cap); + void set_liquid_color(Gdk::Color _color); double get_entrega(); + Gdk::Color get_liquid_color(); virtual void save(FILE *archivo); virtual bool check_connection(); + virtual void set_default_connector(); + virtual ConnectorType get_connector_type(int _a, int _b); protected: double entrega; Glib::RefPtr imageE; // 0 Glib::RefPtr imageO; // 1 Glib::RefPtr null; + Gdk::Color liquid_color; PumpPtyWnd *pump_pty_wnd; }; #endif